Fix constructor
This commit is contained in:
parent
031f9b28f0
commit
4e9643c757
1 changed files with 1 additions and 1 deletions
|
|
@ -10611,7 +10611,7 @@ abstract class CommonObject
|
|||
global $langs;
|
||||
if (empty($langs)) {
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php';
|
||||
$langs = new Translate($this->db);
|
||||
$langs = new Translate($this->db, $conf);
|
||||
$langs->setDefaultLang();
|
||||
$langs->load("errors");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue