X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateReportData.php;h=2f0d19394742a54745758718466380f412dec412;hb=3840dee98c3e3d05127efe8277f31a036b6ccf67;hp=765c1488d238b4390b250cc5b9e1ca132ac54981;hpb=f612371d7083c7835021b8992ce12b5ff01217a9;p=civicrm-core.git diff --git a/sql/GenerateReportData.php b/sql/GenerateReportData.php index 765c1488d2..2f0d193947 100644 --- a/sql/GenerateReportData.php +++ b/sql/GenerateReportData.php @@ -352,7 +352,7 @@ class CRM_GCD { // number of seconds for 2 year $numSecond = 63072000; - $dateFormat = "Ymdhis"; + $dateFormat = "YmdHis"; $today = time(); // both are defined @@ -1563,7 +1563,7 @@ INSERT INTO `civicrm_pcp` VALUES ({$this->individual[3]}, 2, 'My Personal Civi Fundraiser', 'I''m on a mission to get all my friends and family to help support my favorite open-source civic sector CRM.', '

Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!

\r\n

You can learn more about CiviCRM here.

\r\n

Then click the Contribute Now button to go to our easy-to-use online contribution form.

', 'Contribute Now', 1, 1, 1, 5000.00, NULL, 1); "; - CRM_Core_DAO::executeQuery($query, CRM_Core_DAO::$_nullArray); + CRM_Core_DAO::executeQuery($query); } public function addContribution() {