Merge pull request #17987 from eileenmcnaughton/pseudo_mem
[civicrm-core.git] / CRM / Contact / Form / Search.php
index 6273816711c9f990e5a7373ebe3a1c5e1db6acae..322dc47e317bb42c42bd06f7eca146b49ce6b204 100644 (file)
@@ -183,7 +183,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
    */
   public static function isSearchContext($context) {
     $searchContext = CRM_Utils_Array::value($context, self::validContext());
-    return $searchContext ? TRUE : FALSE;
+    return (bool) $searchContext;
   }
 
   public static function setModeValues() {