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
Roland Haeder 2016-03-01 14:38:02 +01:00
rodzic aa548be3b9
commit 78e6569b27
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B72F8185C6C7BD78
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -86,7 +86,7 @@ class ForumManager {
$total = count($contacts);
$visible_forums = 10;
if(count($contacts)) {
if(is_filled_array($contacts)) {
$id = 0;