git.cweiske.de
/
phinde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix string array access in php 8
[phinde.git]
/
src
/
phinde
/
LinkExtractor
/
Html.php
diff --git
a/src/phinde/LinkExtractor/Html.php
b/src/phinde/LinkExtractor/Html.php
index 7b987e3280fa0b298c7c0f9b2ef774eb15cc5a87..299ed912869587ced474b71c61a538a3d0f5b571 100644
(file)
--- a/
src/phinde/LinkExtractor/Html.php
+++ b/
src/phinde/LinkExtractor/Html.php
@@
-8,7
+8,7
@@
class Html
{
public function extract(\HTTP_Request2_Response $res)
{
{
public function extract(\HTTP_Request2_Response $res)
{
- $url =
$res->getEffectiveUrl(
);
+ $url =
Helper::removeAnchor($res->getEffectiveUrl()
);
$linkInfos = array();
$linkInfos = array();
@@
-61,7
+61,7
@@
class Html
}
}
}
}
}
}
- if ($href == '' || $href
{0}
== '#') {
+ if ($href == '' || $href
[0]
== '#') {
//link on this page
continue;
}
//link on this page
continue;
}