2
0
forked from Wavyzz/dolibarr

Work on website

This commit is contained in:
Laurent Destailleur
2016-05-07 16:38:32 +02:00
parent d484383467
commit 25dfa0c5b9
5 changed files with 64 additions and 35 deletions

View File

@@ -2775,7 +2775,7 @@ function dol_print_error($db='',$error='',$errors=null)
foreach($errors as $msg)
{
$msg=$langs->trans($msg);
if (empty($msg)) continue;
if ($_SERVER['DOCUMENT_ROOT']) // Mode web
{
$out.="<b>".$langs->trans("Message").":</b> ".$msg."<br>\n" ;