fixing-style-errors
authorjoannechester <j_chester@optusnet.com.au>
Tue, 18 Aug 2015 12:13:07 +0000 (22:13 +1000)
committerjoannechester <j_chester@optusnet.com.au>
Wed, 26 Aug 2015 11:56:49 +0000 (21:56 +1000)
CRM/Utils/Date.php

index 73b66e140dcdeee973b52642a4481c539fa7c8ea..41608d545a37c15b52a2ba86d22665ba0f0f59d0 100644 (file)
@@ -1470,9 +1470,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 {