X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgadgets.php;h=5ed8d007a61ce1d8746f4c0d3f91f151e9da6d2a;hb=ce0d7be772306674fadaf020511871aba1683816;hp=c7eb9895d97d94c6d35f4bde1c394b93ccac5f78;hpb=0073747ac81cc9cff9e43847eb008f0e815255f0;p=platal.git diff --git a/modules/gadgets.php b/modules/gadgets.php index c7eb989..5ed8d00 100644 --- a/modules/gadgets.php +++ b/modules/gadgets.php @@ -1,6 +1,6 @@ addMod('gadget', 'Gadget', true); $view->apply(null, $page); @@ -86,6 +87,8 @@ class GadgetsModule extends PLModule $page->assign('error', 'Recherche trop générale.'); } elseif (empty($nb_tot)) { $page->assign('error', 'Il n\'existe personne correspondant à ces critères dans la base !'); + } else { + $page->assign('error', false); } }