From: Stéphane Jacob Date: Mon, 9 Aug 2010 00:21:20 +0000 (+0200) Subject: Fix advanced search with unregistered criterion. X-Git-Tag: xorg/1.0.1~15^2~26 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e637cb6988e6f40b189226a69d7ebc2868952b17;p=platal.git Fix advanced search with unregistered criterion. Signed-off-by: Stéphane Jacob --- diff --git a/core b/core index 786bffb..ef138fd 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 786bffb570bfc2f5ff1dad386a9558501d4c16e8 +Subproject commit ef138fdcc27646d255cb98615c3e64724496c9bd diff --git a/include/ufbuilder.inc.php b/include/ufbuilder.inc.php index 5924bf4..0acb095 100644 --- a/include/ufbuilder.inc.php +++ b/include/ufbuilder.inc.php @@ -665,7 +665,7 @@ class UFBF_Registered extends UFBF_Enum if ($this->val == 1) { return new UFC_Registered(); } else if ($this->val == 2) { - return new PFC_Not(UFC_Registered()); + return new PFC_Not(new UFC_Registered()); } } }