mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-17 01:47:31 +08:00
fix compatibility with php8
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ function bark($msg)
|
||||
exit;
|
||||
}
|
||||
|
||||
$id = 0 + $_GET['id'];
|
||||
$id = $_GET['id'] ?? 0;
|
||||
int_check($id,true);
|
||||
|
||||
if (get_user_class() >= UC_MODERATOR || $CURUSER[id] == "$id")
|
||||
|
||||
Reference in New Issue
Block a user