mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
@@ -11,7 +11,7 @@ function bark($msg)
|
||||
exit;
|
||||
}
|
||||
|
||||
$id = $_GET['id'] ?? 0;
|
||||
$id = intval($_GET['id'] ?? 0);
|
||||
int_check($id,true);
|
||||
|
||||
if (get_user_class() >= UC_MODERATOR || $CURUSER[id] == "$id")
|
||||
|
||||
Reference in New Issue
Block a user