Ensure JsonD data passed to ParseURL::parseParts is an array
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-827894961
This commit is contained in:
parent
f69dab6d1c
commit
412a0b3e1c
|
@ -695,7 +695,7 @@ class ParseUrl
|
|||
{
|
||||
if (!empty($jsonld['@graph']) && is_array($jsonld['@graph'])) {
|
||||
foreach ($jsonld['@graph'] as $part) {
|
||||
if (!empty($part)) {
|
||||
if (!empty($part) && is_array($part)) {
|
||||
$siteinfo = self::parseParts($siteinfo, $part);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue