corrects test on empty formvalues in postProcess
authorAlain Benbassat <alain@businessandcode.eu>
Thu, 23 May 2019 20:55:53 +0000 (22:55 +0200)
committerAlain Benbassat <alain@businessandcode.eu>
Thu, 23 May 2019 20:55:53 +0000 (22:55 +0200)
CRM/Event/Form/Search.php

index 15451b2d20a085d718f17d894c7694a6312dbeef..3f7af061181c85fe778bce53d5a03f3d32b20337 100644 (file)
@@ -389,7 +389,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
       CRM_Contact_BAO_Query::processSpecialFormValue($this->_formValues, ['participant_status_id']);
     }
 
-    if (empty($this->_formValues)) {
+    if (empty($formValues)) {
       $formValues = $this->controller->exportValues($this->_name);
     }