mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
fix warning
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ dbconn();
|
||||
loggedinorreturn();
|
||||
if (get_user_class() < UC_SYSOP)
|
||||
stderr("Error", "Permission denied.");
|
||||
$class = 0 + $_POST["class"];
|
||||
$class = $_POST["class"] ?? 0;
|
||||
if ($class)
|
||||
int_check($class,true);
|
||||
$or = $_POST["or"];
|
||||
|
||||
Reference in New Issue
Block a user