2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2020-02-09 18:34:53 +01:00
parent d789dd0366
commit 94d6fa06dc
2 changed files with 3 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ $specimenthirdparty->initAsSpecimen();
* Actions
*/
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
if ($action == 'updateMask')
{
$maskconstorder = GETPOST('maskconstorder', 'alpha');

View File

@@ -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');