fixing style errors
authorjoannechester <joannechester@users.noreply.github.com>
Tue, 18 Aug 2015 00:38:15 +0000 (10:38 +1000)
committerjoannechester <joannechester@users.noreply.github.com>
Tue, 18 Aug 2015 00:38:15 +0000 (10:38 +1000)
CRM/Utils/Date.php

index c257ba4a0edd5850a86e62f36666078cf9e185af..832868bfc887d015945beaeb128e9a5bd1fa01bd 100644 (file)
@@ -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 {