8
0
Mirror von https://git.d3data.de/3rdParty/captcha-module.git synchronisiert 2024-12-03 11:04:20 +01:00

Fix: Curly brace access syntax is deprecated since PHP 7.4

Dieser Commit ist enthalten in:
AndreasBissinger 2021-10-22 14:11:29 +02:00
Ursprung f8bdc5285c
Commit f564baf9bf

Datei anzeigen

@ -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)]);
}
}