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
1 changed files with 1 additions and 1 deletions
|
@ -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