From c0bd763c535ce0b65cbd0158c722358d676f38f2 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Fri, 31 Jan 2020 14:40:38 +0000 Subject: [PATCH] another replacement of string{x} with string[x] --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index af96537c..db4472c9 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -803,7 +803,7 @@ function encode_header($string, $default_charset = "utf-8") { $cur_l = 0; $ret = ''; } else { - $ret .= $string{$i}; + $ret .= $string[$i]; } } }