From 783a653e3756db9085e7eac9dd66534b08a7a509 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Fri, 14 Jul 2023 12:58:06 +0200 Subject: [PATCH] Fixed php error for 8.x in secureimage.php Signed-off-by: Janos SUTO --- webui/securimage/securimage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/securimage/securimage.php b/webui/securimage/securimage.php index c7a60930..fb27ae9c 100644 --- a/webui/securimage/securimage.php +++ b/webui/securimage/securimage.php @@ -1438,7 +1438,7 @@ class Securimage $length = strlen($code['display']); for($i = 0; $i < $length; ++$i) { - $letter = $code['display']{$i}; + $letter = $code['display'][$i]; $letters[] = $letter; } }