PHP8 compatibility: replaced the curly brackets {} with square brackets [] where used in combination with strings

This commit is contained in:
Paolo
2025-11-19 10:53:59 +01:00
parent e4a7955239
commit e837101651
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -1435,7 +1435,7 @@ class Securimage
$length = strlen($code['display']);
for($i = 0; $i < $length; ++$i) {
$letter = $code['display']{$i};
$letter = $code['display'][$i];
$letters[] = $letter;
}
}