2
0
forked from Wavyzz/dolibarr

FIX translation no visible for access forbidden

This commit is contained in:
Laurent Destailleur
2018-09-09 11:59:38 +02:00
parent 0db7f6b8f3
commit d9eeb43118

View File

@@ -662,6 +662,7 @@ function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymess
{ {
include_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php'; include_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php';
$langs=new Translate('',$conf); $langs=new Translate('',$conf);
$langs->setDefaultLang();
} }
$langs->load("errors"); $langs->load("errors");