Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue committed Jul 26, 2018
1 parent 8c35907 commit ee6b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/showsource.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
$sql="select count(1) from privilege where user_id=? and rightstr=?";
$count=pdo_query($sql,$_SESSION[$OJ_NAME.'_'.'user_id'],"s".$sproblem_id);
if($count&&$count[0][0]>0){
$_SESSION[$OJ_NAME.'_'.'s'.$sproblem_id])=true;
$_SESSION[$OJ_NAME.'_'.'s'.$sproblem_id]=true;
$ok=true;
}else{
//echo "not right";
Expand Down

0 comments on commit ee6b917

Please sign in to comment.