fix missing filter summary
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 1 Apr 2022 17:55:22 +0000 (13:55 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 1 Apr 2022 17:55:22 +0000 (13:55 -0400)
CRM/Report/Form.php

index 692894151b16b4c543a60d906cb816f8f22a9dee..0f906d9d5b62ed5a918e82577973f193f72a744e 100644 (file)
@@ -3523,10 +3523,10 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
           }
         }
       }
-      else {
-        // Prevents an e-notice in statistics.tpl.
-        $statistics['filters'] = [];
-      }
+    }
+    // Prevents an e-notice in statistics.tpl.
+    if (!isset($statistics['filters'])) {
+      $statistics['filters'] = [];
     }
   }