]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ParseUrl.php
Display the publish time in the local timezone
[friendica.git] / src / Util / ParseUrl.php
index 5dee4d3a29b804f7b8960d71a0518535242a8a09..d5c9f02ad4a4eaf22f1879c4323a698054fc3e63 100644 (file)
@@ -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);
                                }
                        }