From 89d5acb4092768b2da00dae84c500813b9862e79 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 8 Oct 2007 20:25:32 +0200 Subject: [PATCH] Hope this will fix a bug Signed-off-by: Florent Bruneau --- modules/xnetgrp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 06e1cef..114b220 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -755,7 +755,7 @@ class XnetGrpModule extends PLModule FROM auth_user_md5 WHERE $where"); } - if ($res->total() < 30) { + if ($res && $res->total() < 30) { $page->assign("choix", $res); } } -- 2.1.4