From: Florent Bruneau Date: Mon, 8 Oct 2007 18:25:32 +0000 (+0200) Subject: Hope this will fix a bug X-Git-Tag: xorg/0.9.15~48 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=89d5acb4092768b2da00dae84c500813b9862e79;p=platal.git Hope this will fix a bug Signed-off-by: Florent Bruneau --- 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); } }