forked from Wavyzz/dolibarr
FIX #13022
This commit is contained in:
@@ -54,6 +54,8 @@ $specimenthirdparty->initAsSpecimen();
|
||||
* Actions
|
||||
*/
|
||||
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
|
||||
|
||||
if ($action == 'updateMask')
|
||||
{
|
||||
$maskconstorder = GETPOST('maskconstorder', 'alpha');
|
||||
|
||||
@@ -64,6 +64,7 @@ if ($action == 'setModuleOptions')
|
||||
{
|
||||
foreach($_POST as $key => $val)
|
||||
{
|
||||
$reg = array();
|
||||
if (preg_match('/^param(\d*)$/', $key, $reg)) // Works for POST['param'], POST['param1'], POST['param2'], ...
|
||||
{
|
||||
$param=GETPOST("param".$reg[1], 'alpha');
|
||||
|
||||
Reference in New Issue
Block a user