From f6d7ac281cc0638e95994a82fd408dacaa5cc459 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 22 Feb 2013 08:13:34 +0000 Subject: [PATCH] Opps :( #3 --- inc/classes/main/criteria/class_BaseCriteria.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/classes/main/criteria/class_BaseCriteria.php b/inc/classes/main/criteria/class_BaseCriteria.php index f42dc828..9597c14a 100644 --- a/inc/classes/main/criteria/class_BaseCriteria.php +++ b/inc/classes/main/criteria/class_BaseCriteria.php @@ -145,7 +145,7 @@ class BaseCriteria extends BaseFrameworkSystem implements Criteria { */ public final function unsetCriteria ($criteriaKey) { // Make sure no 'my-' or 'my_' passes this point - assert((strpos($criteriaKey, 'my-') === FALSE) && (strpos($criteriaKey, 'my_') === FALSE) && (!is_bool($criteriaValue))); + assert((strpos($criteriaKey, 'my-') === FALSE) && (strpos($criteriaKey, 'my_') === FALSE)); // Convert dashes to underscore $criteriaKey = $this->convertDashesToUnderscores($criteriaKey); -- 2.39.5