Fix curly brace when accessing character inside string
[phorkie.git] / src / phorkie / Repository.php
index eae2fb4666b26352dfae6f3df537a38b7c0b01c8..fab32a192a66e80407fa41cf515131ff80035168 100644 (file)
@@ -210,7 +210,7 @@ class Repository
             ->execute();
         $files = explode("\n", trim($output));
         foreach ($files as &$file) {
-            if ($file{0} == '"') {
+            if ($file[0] == '"') {
                 $file = $this->decodeFileName($file);
             }
         }