diff --git a/bureau/admin/logs_list.php b/bureau/admin/logs_list.php index b7500b65..feb9d695 100644 --- a/bureau/admin/logs_list.php +++ b/bureau/admin/logs_list.php @@ -39,8 +39,10 @@ $list=$log->list_logs_directory_all($log->get_logs_directory()); if (isset($error) && $error) { echo "

$error

"; } -if(!$list || empty($list)){ +if(!$list || empty($list['dir'])){ echo "

"._("You have no sql logs to list a the moment.")."

"; + include_once('foot.php'); + exit; } ?>