From: Allen Shaw Date: Wed, 13 Apr 2022 23:24:21 +0000 (-0500) Subject: dev/core#3164 : Report Filter Statistics don't show filters with value of "0" X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4d581a2d5533bb8cea0ef59c806d3f3652c57cda;p=civicrm-core.git dev/core#3164 : Report Filter Statistics don't show filters with value of "0" --- diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 9793e13e9d..c27e48faea 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -3510,7 +3510,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND $value = CRM_Utils_Array::value($op, $pair) . " " . CRM_Utils_Array::value($val, $field['options'], $val); } - elseif ($val) { + elseif ($val || $val == '0') { $value = CRM_Utils_Array::value($op, $pair) . " " . $val; } }