From ffc1e56f102068f87d6a5aa7b546311f25250ed9 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 4 Apr 2018 14:51:02 +0530 Subject: [PATCH] CRM-21854 - minor fix --- CRM/Contribute/Form/ContributionBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index 3167a5665e..8c906e288b 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -316,12 +316,12 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { $endDate = CRM_Utils_Date::processDate(CRM_Utils_Array::value('end_date', $this->_values)); $now = date('YmdHis'); if ($endDate && $endDate < $now) { - throw new CRM_Contribute_Exception_PastContributionPageException(ts('The page you requested has past its end date on '. CRM_Utils_Date::customFormat($endDate) ), $this->_id); + throw new CRM_Contribute_Exception_PastContributionPageException(ts('The page you requested has past its end date on ' . CRM_Utils_Date::customFormat($endDate)), $this->_id); } $startDate = CRM_Utils_Date::processDate(CRM_Utils_Array::value('start_date', $this->_values)); if ($startDate && $startDate > $now) { - throw new CRM_Contribute_Exception_FutureContributionPageException(ts('The page you requested will be active from '. CRM_Utils_Date::customFormat($startDate)), $this->_id); + throw new CRM_Contribute_Exception_FutureContributionPageException(ts('The page you requested will be active from ' . CRM_Utils_Date::customFormat($startDate)), $this->_id); } $this->assignBillingType(); -- 2.25.1