mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-11-21 06:03:11 +01:00
Fix: Curly brace access syntax is deprecated since PHP 7.4
This commit is contained in:
parent
f8bdc5285c
commit
f564baf9bf
@ -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)]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user