Merge pull request #8 from bissie/array_access_curly_braces

Fix: Curly brace access syntax is deprecated since PHP 7.4
This commit is contained in:
[OXID-PS] Keywan Ghadami 2021-10-22 17:48:33 +02:00 gecommit door GitHub
bovenliggende f8bdc5285c f564baf9bf
commit 35e5d631d0
Geen bekende sleutel gevonden voor deze handtekening in de database
GPG sleutel-ID: 4AEE18F83AFDEB23
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen

Bestand weergeven

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