Fix var
This commit is contained in:
parent
69a900b260
commit
591b7bae43
@ -59,6 +59,8 @@ if (empty($user->admin)) {
|
||||
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
|
||||
|
||||
$reg = array();
|
||||
|
||||
if ($action == 'set_default') {
|
||||
$ret = addDocumentModel($value, $type, $label, $scandir);
|
||||
$res = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user