Fix fatal error because of parameter type mismatch

This commit is contained in:
Michael 2021-05-03 18:43:38 +00:00
parent 1f4a528cdf
commit 6841608164
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}