From: joannechester Date: Tue, 18 Aug 2015 00:38:15 +0000 (+1000) Subject: fixing style errors X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=38d131e3b4c8179573e621c0f03e19c79ec973bd;p=civicrm-core.git fixing style errors --- 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 {