kopia lustrzana https://github.com/friendica/friendica
Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>pull/2390/head
rodzic
0c1cc0d32f
commit
f05c1e82f0
|
@ -86,7 +86,7 @@ class ForumManager {
|
|||
$total = count($contacts);
|
||||
$visible_forums = 10;
|
||||
|
||||
if(count($contacts)) {
|
||||
if(is_filled_array($contacts)) {
|
||||
|
||||
$id = 0;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue