]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Facebook and App.net is removed from nearly all places (#5581)
[friendica.git] / include / items.php
index 0d447f2b40bcd1723701c78c150ac8958e216f54..34d6132f018b38146328aff3f61c7fe26e89a26d 100644 (file)
@@ -150,7 +150,11 @@ function add_page_info($url, $no_photos = false, $photo = "", $keywords = false,
 {
        $data = query_page_info($url, $photo, $keywords, $keyword_blacklist);
 
-       $text = add_page_info_data($data, $no_photos);
+       $text = '';
+
+       if (is_array($data)) {
+               $text = add_page_info_data($data, $no_photos);
+       }
 
        return $text;
 }