Fixing bug 4259: statslib infinite loop on php 5.1 date/time changes. Credit: Samuli Karevaara (great catch!)

This commit is contained in:
mjollnir_
2005-11-02 22:20:35 +00:00
parent 9cf41cd87a
commit 42307c47b2
+1 -1
View File
@@ -458,7 +458,7 @@ function stats_get_base_monthly($time=0) {
}
function stats_get_next_monthend($lastmonth) {
return stats_usergetmidnight(strtotime(date('1-M-Y',$lastmonth).' + 1 month'));
return stats_usergetmidnight(strtotime(date('1-M-Y',$lastmonth).' +1 month'));
}
function stats_get_next_weekend($lastweek) {