mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Int Val // Limit XSS issues
This commit is contained in:
parent
db928ef7f3
commit
51aeec59e0
1 changed files with 2 additions and 2 deletions
|
@ -18,12 +18,12 @@ $lastdate = "";
|
|||
|
||||
if(!empty($_POST['date']))
|
||||
{
|
||||
$html_dates = $html->List_Dates($_POST['date']);
|
||||
$html_dates = $html->List_Dates(intval($_POST['date']));
|
||||
$lastdate = intval($_POST['date']);
|
||||
}
|
||||
else if(!empty($_GET['date']))
|
||||
{
|
||||
$html_dates = $html->List_Dates($_GET['date']);
|
||||
$html_dates = $html->List_Dates(intval($_GET['date']));
|
||||
$lastdate = intval($_GET['date']);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue