X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateReportData.php;h=2f0d19394742a54745758718466380f412dec412;hb=ca40fd3cfed45e521653191c9998ad14ec2a5d54;hp=8ba48d3d681bc421e68e2e7afeba7c6ddb535405;hpb=4e0e6e391beacb52d1e87c88b3c50a457e981c6e;p=civicrm-core.git diff --git a/sql/GenerateReportData.php b/sql/GenerateReportData.php index 8ba48d3d68..2f0d193947 100644 --- a/sql/GenerateReportData.php +++ b/sql/GenerateReportData.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | + | Copyright CiviCRM LLC (c) 2004-2016 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2015 + * @copyright CiviCRM LLC (c) 2004-2016 * $Id$ * */ @@ -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() {