From a1c29410ee4ecba78092899faf8a98109b1d2b88 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 6 Jul 2018 13:52:03 +0200 Subject: buildmaster/statistics.php: ADDTIME -> ADDDATE --- buildmaster/statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildmaster/statistics.php b/buildmaster/statistics.php index fbfedf4..cf3b0d0 100644 --- a/buildmaster/statistics.php +++ b/buildmaster/statistics.php @@ -22,7 +22,7 @@ $result = mysql_run_query( "`statistics`.`blocked_tasks_count`," . "`statistics`.`next_tasks_count`" . "FROM `statistics` " . - "WHERE `statistics`.`date`>=ADDTIME(NOW()," . $min_time . ") " . + "WHERE `statistics`.`date`>=ADDDATE(NOW()," . $min_time . ") " . "ORDER BY `statistics`.`date`" ); -- cgit v1.2.3-70-g09d2