Skip to content

Commit 25692c1

Browse files
dev
1 parent 8d8e34e commit 25692c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExternalLinksComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function bootstrap($app)
8484
$this->initReplaceLinks();
8585

8686
$matches = [];
87-
if (preg_match_all("/<[Aa][\s]{1}[^>]*[Hh][Rr][Ee][Ff][^=]*=[ '\"\s]*([^ \"'>\s#]+)[^>]*>/", $content, $matches))
87+
if (preg_match_all("/<[Aa][\s]{1}[^>]*[Hh][Rr][Ee][Ff][^=]*=[ '\"\s]*([^ \"'>\s#]+)[^>]*>/", (string) $content, $matches))
8888
{
8989
if (isset($matches[1]))
9090
{

0 commit comments

Comments
 (0)