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
962536330a
commit
f53af9732c
|
@ -86,7 +86,7 @@ class ForumManager {
|
||||||
$total = count($contacts);
|
$total = count($contacts);
|
||||||
$visible_forums = 10;
|
$visible_forums = 10;
|
||||||
|
|
||||||
if(count($contacts)) {
|
if(is_filled_array($contacts)) {
|
||||||
|
|
||||||
$id = 0;
|
$id = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user