Merge pull request #10204 from annando/fatal
Fix fatal error because of parameter type mismatch
This commit is contained in:
commit
02ec019ddc
|
@ -711,7 +711,7 @@ class ParseUrl
|
||||||
}
|
}
|
||||||
if ($numeric_keys) {
|
if ($numeric_keys) {
|
||||||
foreach ($jsonld as $part) {
|
foreach ($jsonld as $part) {
|
||||||
if (!empty($part)) {
|
if (!empty($part) && is_array($part)) {
|
||||||
$siteinfo = self::parseParts($siteinfo, $part);
|
$siteinfo = self::parseParts($siteinfo, $part);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue