CRM-17620 - Fix undefined variable
authorColeman Watts <coleman@civicrm.org>
Thu, 3 Dec 2015 20:43:45 +0000 (15:43 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 3 Dec 2015 20:43:45 +0000 (15:43 -0500)
CRM/Contribute/Selector/Search.php

index 7839b113253f3a6dc10e1518b917622647c5209b..06d96d025ca2a42f52b46ad4c56f5dc29d4ab061 100644 (file)
@@ -470,6 +470,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
+    $pre = array();
     self::$_columnHeaders = array(
       array(
         'name' => $this->_includeSoftCredits ? ts('Contribution Amount') : ts('Amount'),