diff --git a/bureau/admin/main.php b/bureau/admin/main.php index e2c0cbd8..e0066ad1 100644 --- a/bureau/admin/main.php +++ b/bureau/admin/main.php @@ -49,7 +49,7 @@ $mem->resetlast(); if($admin->enabled) { $expiring = $admin->renew_get_expiring_accounts(); - if(count($expiring) > 0) { + if(is_array($expiring) && count($expiring) > 0) { echo "
"._("uid")." | "._("Last name, surname")." | "._("Expiry")." |
---|