Skip to content

Commit 18976b3

Browse files
fix
git-svn-id: http://hustoj.googlecode.com/svn@1961 19ab8b60-bd6c-11dd-baed-41e496641fac
1 parent 07133d1 commit 18976b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/web/status.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
$str2="";
2525
$lock=false;
2626
$lock_time=date("Y-m-d H:i:s",time());
27-
$sql="SELECT * FROM `solution` WHERE 1 ";
27+
$sql="SELECT * FROM `solution` WHERE problem_id>0 ";
2828
if (isset($_GET['cid'])){
2929
$cid=intval($_GET['cid']);
3030
$sql=$sql." AND `contest_id`='$cid' and num>=0 ";

0 commit comments

Comments
 (0)