Fix fatal error because of parameter type mismatch
This commit is contained in:
parent
1f4a528cdf
commit
6841608164
|
@ -711,7 +711,7 @@ class ParseUrl
|
|||
}
|
||||
if ($numeric_keys) {
|
||||
foreach ($jsonld as $part) {
|
||||
if (!empty($part)) {
|
||||
if (!empty($part) && is_array($part)) {
|
||||
$siteinfo = self::parseParts($siteinfo, $part);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue