diff --git a/admin/cg_step5.php b/admin/cg_step5.php index eb08050..e47e60f 100644 --- a/admin/cg_step5.php +++ b/admin/cg_step5.php @@ -96,16 +96,16 @@ class dbParser { $state = 0; for ($i = 0; $i < strlen($line); $i ++) { if ($state == 0) { - if ($line{$i} == ';') { + if ($line[$i] == ';') { return array(true, $buffer); } - $buffer .= $line{$i}; - if ($line{$i} == "'") { + $buffer .= $line[$i]; + if ($line[$i] == "'") { $state = 1; } } else { - $buffer .= $line{$i}; - if ($line{$i} == "'") { + $buffer .= $line[$i]; + if ($line[$i] == "'") { $state = 0; } }