summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-06 13:52:03 +0200
committerErich Eckner <git@eckner.net>2018-07-06 13:52:03 +0200
commita1c29410ee4ecba78092899faf8a98109b1d2b88 (patch)
tree64bb688a728359d973e7295c44df7f999e387aa8
parent4013377ff6f89fd52541af373a8c61c1a9d9aead (diff)
downloadarchweb32-a1c29410ee4ecba78092899faf8a98109b1d2b88.tar.xz
buildmaster/statistics.php: ADDTIME -> ADDDATE
-rw-r--r--buildmaster/statistics.php2
1 files changed, 1 insertions, 1 deletions
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`"
);