Fix var not defined
This commit is contained in:
parent
69479584ed
commit
c3ad443200
@ -51,6 +51,7 @@ $type = 'action';
|
||||
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
|
||||
|
||||
$reg = array();
|
||||
if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg))
|
||||
{
|
||||
$code = $reg[1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user