Opps :( #3
authorRoland Häder <roland@mxchange.org>
Fri, 22 Feb 2013 08:13:34 +0000 (08:13 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 22 Feb 2013 08:13:34 +0000 (08:13 +0000)
inc/classes/main/criteria/class_BaseCriteria.php

index f42dc828175ea65cbb7fbfd9b40122ff7521e114..9597c14a0bf35240410e3d2012bd8066d657e01d 100644 (file)
@@ -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);