mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ loggedinorreturn();
|
||||
if (get_user_class() < $pollmanage_class)
|
||||
permissiondenied();
|
||||
|
||||
$pollid = $_GET['id'] ?? 0;
|
||||
$pollid = intval($_GET['id'] ?? 0);
|
||||
|
||||
if ($pollid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user