Skip to content
Snippets Groups Projects
Commit 65f08e96 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: File not found when multilang interface is on

parent 6ca3d333
No related branches found
No related tags found
No related merge requests found
......@@ -288,9 +288,9 @@ class FormFile
print '<td align="center">';
if($conf->global->MAIN_MULTILANGS && ! $forcenomultilang)
{
require_once(DOL_DOCUMENT_ROOT."/html.formadmin.class.php");
$htmlAdmin = new FormAdmin($db);
$htmlAdmin->select_lang($langs->getDefaultLang());
include_once(DOL_DOCUMENT_ROOT.'/html.formadmin.class.php');
$formadmin=new FormAdmin($this->db);
$formadmin->select_lang($langs->getDefaultLang());
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment