Fixing bug 4259: statslib infinite loop on php 5.1 date/time changes. Credit: Samuli Karevaara (great catch!)
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user