X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirectory.php;h=6ef3134517cf60cf3bd3ecf8ef8681eb7b794b79;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=c32cf5dbb8f93e204f7db42f80551a166dd05c19;hpb=dbc6eb5422b81c95d6e1eea63c8ace794ccd2039;p=friendica.git diff --git a/mod/directory.php b/mod/directory.php index c32cf5dbb8..6ef3134517 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -111,8 +111,9 @@ function directory_content(App $a) $photo = 'photo'; } - while ($rr = DBA::fetch($r)) { + $entries = []; + while ($rr = DBA::fetch($r)) { $itemurl = (($rr['addr'] != "") ? $rr['addr'] : $rr['profile_url']); $profile_link = $rr['profile_url'];