mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-18 11:37:29 +08:00
fix compatibility with php8
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ header("Cache-Control: no-cache, must-revalidate" );
|
||||
header("Pragma: no-cache" );
|
||||
header("Content-Type: text/xml; charset=utf-8");
|
||||
|
||||
$id = 0 + $_GET['id'];
|
||||
$id = $_GET['id'] ?? 0;
|
||||
if(isset($CURUSER))
|
||||
{
|
||||
$s = "<table class=\"main\" border=\"1\" cellspacing=0 cellpadding=\"5\">\n";
|
||||
|
||||
Reference in New Issue
Block a user