Fix string array access in php 8
authorChristian Weiske <cweiske@cweiske.de>
Sun, 2 Apr 2023 16:57:18 +0000 (18:57 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 2 Apr 2023 16:57:18 +0000 (18:57 +0200)
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;
             }