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