Skip to content

Commit

Permalink
Added space after closing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
VangelisP committed Oct 14, 2019
1 parent cb07e76 commit 862feff
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions CRM/Contact/Form/Search/Custom/ContributionAggregate.php
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
<?php

/*
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/

/**
Expand Down Expand Up @@ -118,8 +119,7 @@ public function templateFile() {
* @return string
*/
public function all(
$offset = 0, $rowcount = 0, $sort = NULL,
$includeContactIDs = FALSE, $justIDs = FALSE
$offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE, $justIDs = FALSE
) {

// SELECT clause must include contact_id as an alias for civicrm_contact.id
Expand Down Expand Up @@ -216,17 +216,17 @@ public function where($includeContactIDs = FALSE) {
];

foreach ([
'receive_date_relative',
'receive_date_low',
'receive_date_high',
'receive_date_relative',
'receive_date_low',
'receive_date_high',
] as $dateFieldName) {
$dateParams[$dateFieldName] = CRM_Utils_Array::value(
$dateFieldName,
$this->_formValues
);
}

if ($dateParams['receive_date_relative']){
if ($dateParams['receive_date_relative']) {
list($relativeFrom, $relativeTo) = CRM_Utils_Date::getFromTo($dateParams['receive_date_relative'], $dateParams['receive_date_low'], $dateParams['receive_date_high']);
}
else {
Expand Down

0 comments on commit 862feff

Please sign in to comment.