X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=fdf0fa3aa733428504d265abf41be9c49ef79017;hb=5a439a31f3ef58b826ffe21c8972d6373165b8bb;hp=a1f29398f690f39f52bd7cbbd116967e5425c2f0;hpb=425665795d162f4ef22fb4a290749fa0528ae1c1;p=friendica.git diff --git a/boot.php b/boot.php index a1f29398f6..fdf0fa3aa7 100644 --- a/boot.php +++ b/boot.php @@ -1849,7 +1849,8 @@ function load_contact_links($uid) { $r = q("SELECT `id`,`network`,`url`,`thumb`, `rel` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `thumb` != ''", intval($uid) ); - if(count($r)) { + + if(is_filled_array($r)) { foreach($r as $rr){ $url = normalise_link($rr['url']); $ret[$url] = $rr;