Skip to content

Commit

Permalink
FIX translation no visible for access forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 9, 2018
1 parent 0db7f6b commit d9eeb43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/core/lib/security.lib.php
Expand Up @@ -662,6 +662,7 @@ function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymess
{
include_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php';
$langs=new Translate('',$conf);
$langs->setDefaultLang();
}

$langs->load("errors");
Expand Down

0 comments on commit d9eeb43

Please sign in to comment.