Fix curly brace when accessing character inside string
[phorkie.git] / src / phorkie / Repository / Remote.php
index 3bb153fec8de8ca1c904291c93f1111ffd44822b..e46d3a91856f5ba6f7bb68668c3e4cf55d7d30e4 100644 (file)
@@ -73,7 +73,7 @@ class Repository_Remote
     public function isLocal()
     {
         return isset($this->arConfig['url'])
-            && $this->arConfig['url']{0} == '/';
+            && $this->arConfig['url'][0] == '/';
     }
 
     /**