CRM-16478 Initial changes to remove custom error template path
[civicrm-core.git] / CRM / Core / DAO.php
index e1038d7a0094f105891db4e1693b98fd210feaf3..6db2547c5695373c6428d262b1e93bb96ab1a394 100644 (file)
@@ -2274,7 +2274,7 @@ SELECT contact_id
     // http://issues.civicrm.org/jira/browse/CRM-9150 - stick with 'simple' operators for now
     // support for other syntaxes is discussed in ticket but being put off for now
     foreach ($filter as $operator => $criteria) {
-      if (in_array($operator, self::acceptedSQLOperators())) {
+      if (in_array($operator, self::acceptedSQLOperators(), TRUE)) {
         switch ($operator) {
           // unary operators
           case 'IS NULL':