mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
aa548be3b9
commit
78e6569b27
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class ForumManager {
|
|||
$total = count($contacts);
|
||||
$visible_forums = 10;
|
||||
|
||||
if(count($contacts)) {
|
||||
if(is_filled_array($contacts)) {
|
||||
|
||||
$id = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue