mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
@@ -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