X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FActivitySummary.php;h=af071d83ba113ff6eff6561649198eaad3ab99e2;hb=6fe426fc1c924bbfcf29735d5f9e9763b1dbd389;hp=f394734d06f50ff8437bfa3730beeafd652ce8d3;hpb=94264777f045154d25cb107ac8f2c92da193a357;p=civicrm-core.git diff --git a/CRM/Report/Form/ActivitySummary.php b/CRM/Report/Form/ActivitySummary.php index f394734d06..af071d83ba 100644 --- a/CRM/Report/Form/ActivitySummary.php +++ b/CRM/Report/Form/ActivitySummary.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form { @@ -684,7 +684,7 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form { } } $date_suffixes = array('relative', 'from', 'to'); - while (list(, $suffix) = each($date_suffixes)) { + foreach ($date_suffixes as $suffix) { if (!empty($this->_params['activity_date_time_' . $suffix])) { list($from, $to) = $this->getFromTo(