From: x2003bruneau Date: Sun, 29 Apr 2007 15:51:58 +0000 (+0000) Subject: Backport X-Git-Tag: xorg/0.9.15~329 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a58d85392e3480523459ac67bd1a55952f1eaac5;p=platal.git Backport git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1757 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/lists.php b/modules/lists.php index 7111516..df255e1 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -506,7 +506,7 @@ class ListsModule extends PLModule global $list_unregistered; $users = get_not_registered_user($login, true); - if ($users->total()) { + if ($users && $users->total()) { if (!isset($list_unregistered)) { $list_unregistered = array(); }