修复漏掉的参数
This commit is contained in:
@@ -236,7 +236,7 @@ if (isset($_GET['cid'])) {
|
|||||||
$sql = "SELECT * FROM contest WHERE contest.defunct='N' and ( `private` = 0 or `contest_id` in (select `contest_id` from `testusers` where `user_id`=? )) ORDER BY contest_id DESC";
|
$sql = "SELECT * FROM contest WHERE contest.defunct='N' and ( `private` = 0 or `contest_id` in (select `contest_id` from `testusers` where `user_id`=? )) ORDER BY contest_id DESC";
|
||||||
$sql .= " limit " . strval($pstart) . "," . strval($pend);
|
$sql .= " limit " . strval($pstart) . "," . strval($pend);
|
||||||
//echo $sql;
|
//echo $sql;
|
||||||
$result = mysql_query_cache($sql);
|
$result = mysql_query_cache($sql, $user_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
$view_contest = array();
|
$view_contest = array();
|
||||||
|
|||||||
Reference in New Issue
Block a user