Fix string array access in php 8
[phinde.git] / src / phinde / LinkExtractor / Html.php
index b3a9ea65170f8f50bd5a09492c72eb7e028829f3..299ed912869587ced474b71c61a538a3d0f5b571 100644 (file)
@@ -61,7 +61,7 @@ class Html
                     }
                 }
             }
-            if ($href == '' || $href{0} == '#') {
+            if ($href == '' || $href[0] == '#') {
                 //link on this page
                 continue;
             }