Some cleaning up.

This commit is contained in:
James Cole
2014-12-13 23:40:25 +01:00
parent 4b4ad7f1a8
commit 8e6ca0dd05
7 changed files with 19 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ class Date
case 'half-year':
$month = intval($theCurrentEnd->format('m'));
$currentEnd->endOfYear();
if($month <= 6) {
if ($month <= 6) {
$currentEnd->subMonths(6);
}
break;