From: Raphaël Barrois Date: Mon, 1 Mar 2010 14:59:37 +0000 (+0100) Subject: Fix bug with the 'nonins' parameter for search X-Git-Tag: xorg/1.0.0~332^2~138 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b5b33b82ba1929364e6dc69ddb2575a2e93f7995;p=platal.git Fix bug with the 'nonins' parameter for search Signed-off-by: Raphaël Barrois --- diff --git a/include/userset.inc.php b/include/userset.inc.php index 55647df..18d1ee6 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -98,8 +98,8 @@ class SearchSet extends ProfileSet if (S::logged() && Env::has('nonins')) { $this->conds = new PFC_And($this->conds, - new PFC_Not(new UFC_Dead()), - new UFC_Registered() + new UFC_Not(new UFC_Dead()), + new UFC_Not(new UFC_Registered()) ); }