diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index a8691fcf790..f122f72ed28 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -358,6 +358,7 @@ if (! session_id() || ! isset($_SESSION["dol_login"])) session_name($sessionname); session_start(); $langs->load('main'); + $langs->load('other'); $_SESSION["loginmesg"]=$langs->trans("ErrorBadValueForCode"); header('Location: '.DOL_URL_ROOT.'/index.php'); exit;