diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 41cea84e0df..cc8f08f737c 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1871,7 +1871,7 @@ function dol_delete_dir_recursive($dir,$count=0) */ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1) { - global $conf; + global $conf,$langs; if ($num > $conf->liste_limit or $num == -1) { @@ -1886,7 +1886,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so if ($page > 0 || $num > $conf->liste_limit) { - print '