forked from Wavyzz/dolibarr
FIX translation no visible for access forbidden
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user