From: Roland Häder Date: Fri, 22 Feb 2013 08:13:34 +0000 (+0000) Subject: Opps :( #3 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6d7ac281cc0638e95994a82fd408dacaa5cc459;p=core.git Opps :( #3 --- 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);