X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fuserset.inc.php;h=a0f72b1b01543c69a1712004fc9b2cca3f1da684;hb=8ddd48c31ce151144118292e20fcdaa10ded9738;hp=8789ea90b8c245e0c5552c9d9c04cbaf547afbe6;hpb=787bb3d745141f2f85bd947ad7dd775d2c63f908;p=platal.git diff --git a/include/userset.inc.php b/include/userset.inc.php index 8789ea9..a0f72b1 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -118,8 +118,8 @@ class SearchSet extends UserSet if ($fields->too_large()) { new ThrowError('Recherche trop générale.'); } - parent::__construct($join . ' ' . $fields->get_select_statement(), - $where . ' ' . $fields->get_where_statement()); + parent::__construct(@$join . ' ' . $fields->get_select_statement(), + @$where . ' ' . $fields->get_where_statement()); $this->order = implode(',',array_filter(array($fields->get_order_statement(), 'promo DESC, NomSortKey, prenom'))); }