Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/lib/functions.php on line 548

since PHP 7.4 curly braces method to get individual characters inside a string has been deprecated, so change the above syntax into this:

Modify