mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Fix GETPOSTINT() to GETPOST(..,intcomma) to allow empty type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user