Laurent Destailleur 2 years ago
parent
commit
591b7bae43
1 changed files with 2 additions and 0 deletions
  1. 2 0
      htdocs/admin/user.php

+ 2 - 0
htdocs/admin/user.php

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