Fix var not defined

This commit is contained in:
Laurent Destailleur 2021-01-21 13:52:23 +01:00
parent 69479584ed
commit c3ad443200

View File

@ -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];