Fix GETPOSTINT() to GETPOST(..,intcomma) to allow empty type

This commit is contained in:
MDW
2024-03-19 01:01:47 +01:00
parent fd5059920f
commit 96218ec2ca

View File

@@ -37,7 +37,7 @@ $langs->loadLangs(array('commande', 'propal', 'bills', 'other', 'products'));
$backtopage = GETPOST('backtopage', 'alpha');
$backtopageforcancel = GETPOST('backtopageforcancel', 'alpha');
$type = GETPOSTINT("type");
$type = GETPOST('type', 'intcomma');
$mode = GETPOST('mode', 'alpha') ? GETPOST('mode', 'alpha') : '';
// Security check