mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
+1
-1
@@ -384,7 +384,7 @@ if ($action == "exchange") {
|
||||
}
|
||||
elseif($art == 'gift_2') // charity giving
|
||||
{
|
||||
$points = $_POST["bonuscharity"] ?? 0;
|
||||
$points = intval($_POST["bonuscharity"] ?? 0);
|
||||
if ($points < 1000 || $points > 50000){
|
||||
stdmsg($lang_mybonus['text_error'], $lang_mybonus['bonus_amount_not_allowed_two'], 0);
|
||||
stdfoot();
|
||||
|
||||
Reference in New Issue
Block a user