sforkowany z mirror/friendica
Fix Warning "key() expects parameter 1 to be array, string given"
rodzic
8adb0825a6
commit
c77f039f7a
|
@ -942,7 +942,7 @@ class ParseUrl
|
||||||
$siteinfo['keywords'][] = trim($keyword);
|
$siteinfo['keywords'][] = trim($keyword);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} elseif (!empty($jsonld['keywords'])) {
|
||||||
$content = JsonLD::fetchElementArray($jsonld, 'keywords');
|
$content = JsonLD::fetchElementArray($jsonld, 'keywords');
|
||||||
if (!empty($content) && is_array($content)) {
|
if (!empty($content) && is_array($content)) {
|
||||||
$jsonldinfo['keywords'] = $content;
|
$jsonldinfo['keywords'] = $content;
|
||||||
|
|
Ładowanie…
Reference in New Issue