Fix GETPOSTINT() to GETPOST(..,intcomma) to allow empty type
This commit is contained in:
parent
fd5059920f
commit
96218ec2ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue