Merge remote-tracking branch 'upstream/develop' into 1601-dfrn
This commit is contained in:
commit
a2d025232b
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ function get_forumlist($uid, $showhidden = true, $lastitem, $showprivate = false
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!$contacts)
|
||||||
|
return($forumlist);
|
||||||
|
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
$forumlist[] = array(
|
$forumlist[] = array(
|
||||||
'url' => $contact['url'],
|
'url' => $contact['url'],
|
||||||
|
|
Loading…
Reference in a new issue