Skip to content

Commit

Permalink
Merge pull request #115 from go-faustino/double-slash-url
Browse files Browse the repository at this point in the history
remove double slashes
  • Loading branch information
go-faustino authored Jan 5, 2018
2 parents 59cd3f1 + 3836344 commit 7b99c33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public function emptimesheetweeklyAction(){
$calenderWeeksArray = range($firstCalWeek, $lastCalWeek);
$calWeek = $calenderWeeksArray[$week-1];

if($calWeek == null || $calWeek == '') {
if($calWeek == null || $calWeek == '' || $calWeek == '0') {
$calWeek = strftime('%U',strtotime($selYrMon.'-01'));
}

Expand Down

0 comments on commit 7b99c33

Please sign in to comment.