From 6135205dc15db657d2dd8efd17193b54182e5b37 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 24 Aug 2012 10:01:16 +0000 Subject: [PATCH] Empty log list --- bureau/admin/logs_list.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } ?>