Fix: Curly brace access syntax is deprecated since PHP 7.4

Cette révision appartient à :
AndreasBissinger 2021-10-22 14:11:29 +02:00
Parent f8bdc5285c
révision f564baf9bf
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

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