Merge pull request #10204 from annando/fatal

Fix fatal error because of parameter type mismatch
This commit is contained in:
Tobias Diekershoff 2021-05-04 06:17:39 +02:00 committed by GitHub
commit 02ec019ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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