From 38d131e3b4c8179573e621c0f03e19c79ec973bd Mon Sep 17 00:00:00 2001 From: joannechester Date: Tue, 18 Aug 2015 10:38:15 +1000 Subject: [PATCH] fixing style errors --- CRM/Utils/Date.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index c257ba4a0e..832868bfc8 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -1460,9 +1460,9 @@ class CRM_Utils_Date { break; case 'week': - $weekFirst = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::LOCALIZATION_PREFERENCES_NAME, 'weekBegins', NULL, 0);; + $weekFirst = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::LOCALIZATION_PREFERENCES_NAME, 'weekBegins', NULL, 0); $thisDay = $now['wday']; - if ($weekFirst > $thisDay){ + if ($weekFirst > $thisDay) { $diffDay = $thisDay - $weekFirst + 7; } else { -- 2.25.1