add missing assignment
authoryashodha <yashodha@cividesk.com>
Fri, 12 Apr 2019 12:05:37 +0000 (17:35 +0530)
committeryashodha <yashodha@cividesk.com>
Fri, 12 Apr 2019 12:05:37 +0000 (17:35 +0530)
CRM/Report/Form.php

index ad285a25dc397f7e3e946e6153869f978380247c..7d9ae9c0fec45f9a2dbb7b657b67d5bb9bd7610c 100644 (file)
@@ -1301,7 +1301,7 @@ class CRM_Report_Form extends CRM_Core_Form {
             if (!empty($field['options']) ||
               $fieldName == 'state_province_id' || $fieldName == 'county_id'
             ) {
-              $this->addElement('select', "{$fieldName}_op", ts('Operator:'), $operations,
+              $element = $this->addElement('select', "{$fieldName}_op", ts('Operator:'), $operations,
                 array('onchange' => "return showHideMaxMinVal( '$fieldName', this.value );")
               );