FIX #13022
This commit is contained in:
parent
d789dd0366
commit
94d6fa06dc
2 changed files with 3 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue