mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-22 23:37:32 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ if ($showextinfo['imdb'] == 'yes')
|
||||
require_once("imdb/imdb.class.php");
|
||||
loggedinorreturn();
|
||||
|
||||
$id = $_GET["id"] ?? 0;
|
||||
$id = intval($_GET["id"] ?? 0);
|
||||
|
||||
int_check($id);
|
||||
if (!isset($id) || !$id)
|
||||
|
||||
Reference in New Issue
Block a user