miroir de
https://git.d3data.de/3rdParty/captcha-module.git
synchronisé 2025-04-27 08:11:35 +02:00
Merge pull request #8 from bissie/array_access_curly_braces
Fix: Curly brace access syntax is deprecated since PHP 7.4
Cette révision appartient à :
révision
35e5d631d0
@ -50,7 +50,7 @@ class oeCaptcha extends oxSuperCfg
|
||||
if (!$this->text) {
|
||||
$this->text = '';
|
||||
for ($i = 0; $i < $this->macLength; $i++) {
|
||||
$this->text .= strtolower($this->macChars{rand(0, strlen($this->macChars) - 1)});
|
||||
$this->text .= strtolower($this->macChars[rand(0, strlen($this->macChars) - 1)]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur