diff --git a/htdocs/html.formfile.class.php b/htdocs/html.formfile.class.php index 06222e8fa1b..19437a065ae 100644 --- a/htdocs/html.formfile.class.php +++ b/htdocs/html.formfile.class.php @@ -288,7 +288,9 @@ class FormFile print ''; if($conf->global->MAIN_MULTILANGS && ! $forcenomultilang) { - $html->select_lang($langs->getDefaultLang()); + require_once(DOL_DOCUMENT_ROOT."/html.formadmin.class.php"); + $htmlAdmin = new FormAdmin($db); + $htmlAdmin->select_lang($langs->getDefaultLang()); } else {