PHP Deprecated: Array and string offset access syntax with curly braces is deprecated

This commit is contained in:
2022-06-14 16:33:31 +02:00
parent 42766d07a5
commit a60db30785
8 changed files with 24 additions and 24 deletions

View File

@@ -451,7 +451,7 @@ echo "$res\n";
*/
private function lineType ($line)
{
if (! isset ($line{0}))
if (! isset ($line[0]))
return "NONE";
if (preg_match ("/^[ \t]*[+*-] /", $line) === 1)
return "ul";