From 7dd62592a726510f3db7be083c03008eb50ebe26 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sun, 29 Apr 2007 15:37:38 +0000 Subject: [PATCH] Fix registration of non-X on lists git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.14@1756 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.1.4