Skip to content

Commit

Permalink
Fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 13, 2014
1 parent 5260668 commit 6727385
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion htdocs/admin/system/dolibarr.php
Expand Up @@ -332,7 +332,11 @@
{
if ($i > 0) print ', ';
print $value2;
if (! is_readable($value2)) print ' '.img_warning($langs->trans("ErrorCantReadDirr"));
if (! is_readable($value2))
{
$langs->load("errors");
print ' '.img_warning($langs->trans("ErrorCantReadDir",$value2));
}
++$i;
}
}
Expand Down

0 comments on commit 6727385

Please sign in to comment.