INFRA-132 - s/true/TRUE/
[civicrm-core.git] / CRM / Contact / Form / Search / Builder.php
index 6fa6341da873387f3c61340062525f48db4d5632..e9850f164c32298d5094d39d2a0d10d9c0c0de32 100644 (file)
@@ -468,18 +468,18 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
    * CRM-10338
    * tags and groups use array keys for selection list.
    * if using IS NULL/NOT NULL, an array with no array key is created
-   * convert that to simple null so processing can proceed
+   * convert that to simple NULL so processing can proceed
    */
   public static function checkArrayKeyEmpty($val) {
     if (is_array($val)) {
-      $v2empty = true;
+      $v2empty = TRUE;
       foreach ($val as $vk => $vv) {
         if (!empty($vk)) {
           $v2empty = false;
         }
       }
       if ($v2empty) {
-        $val = null;
+        $val = NULL;
       }
     }
     return $val;