Skip to content

Commit 837814e

Browse files
authored
Update index.php
1 parent b0ad832 commit 837814e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
$view_apc_info = "";
5252
$last_1000_id=0;
53-
$last_1000_id=pdo_query("select max(solution_id-1000) from solution");
53+
$last_1000_id=pdo_query(" select min(solution_id) from solution where in_date >= NOW() - INTERVAL 8 DAY ");
5454
if(!empty($last_1000_id)) $last_1000_id=$last_1000_id[0][0];
5555
if ($last_1000_id==NULL) $last_1000_id=0;
5656

0 commit comments

Comments
 (0)