Skip to content

Commit

Permalink
Update problem_edit.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Sep 8, 2023
1 parent 356e394 commit 7fa8872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/admin/problem_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<?php
if (isset($_GET['id'])) {
;//require_once("../include/check_get_key.php");
$pid=intval($_GET['pid']);
$pid=intval($_GET['id']);
if(! (isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'."p".$pid])) ){
echo "No Privilege.";
exit(0);
Expand Down

0 comments on commit 7fa8872

Please sign in to comment.