From 873707806fe8383cf3a9903c8488e792d06410e9 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Sun, 3 Mar 2013 13:29:53 +0000 Subject: [PATCH] Indique l'astuce dans la page de restauration --- bureau/admin/sql_restore.php | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/bureau/admin/sql_restore.php b/bureau/admin/sql_restore.php index 5e16c869..4bd68d8f 100644 --- a/bureau/admin/sql_restore.php +++ b/bureau/admin/sql_restore.php @@ -45,11 +45,15 @@ if (!$r=$mysql->get_mysql_details($id)) {

$error

 

"; - } +if (!empty($error)) { + echo "

$error

 

"; +} -if (is_array($r)) { +if (!is_array($r)) { + echo "

"._("You currently have no database defined")."

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

";

-

" />

+

" />