mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
Fix some potential security hazards
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
parked();
|
||||
$id = $_GET["id"];
|
||||
$id = intval($_GET["id"] ?? 0);
|
||||
if (!user_can('viewnfo') || !is_valid_id($id) || $enablenfo_main != 'yes')
|
||||
permissiondenied();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user