Prevent hard-fail when section header / group by option chosen on logging report
authoreileen <emcnaughton@wikimedia.org>
Fri, 6 Apr 2018 00:31:39 +0000 (12:31 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 6 Apr 2018 00:31:39 +0000 (12:31 +1200)
CRM/Report/Form/Contact/LoggingSummary.php

index 07e42abfa54843edd4ccc217bb14464b3329e75b..c8a2d48754ecd9557f4a3cc9685af99740023d7c 100644 (file)
@@ -352,4 +352,11 @@ LEFT  JOIN civicrm_contact altered_by_contact_civireport
     return $row;
   }
 
+  /**
+   * Calculate section totals.
+   *
+   * Override to do nothing as this does not work / make sense on this report.
+   */
+  public function sectionTotals() {}
+
 }