GetSeason as string bf
This commit is contained in:
1 parent
db8f32ad48
commit
bfcb7230af
3 files changed
+6
-3
No files matched your search
@@ -23,12 +23,10 @@ class LoadSeasons
|
||||
$tmp = $date->format('y') - 1 . '/' . $date->format('y');
|
||||
$season[$tmp] = $tmp;
|
||||
} else {
|
||||
$season[$date->year] = $date->year;
|
||||
$season[(string) $date->year] = (string) $date->year;
|
||||
}
|
||||
}
|
||||
|
||||
$season = array_reverse($season);
|
||||
|
||||
return $season;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user