bug when checking no account to delete

This commit is contained in:
Benjamin Sonntag 2010-06-03 10:52:48 +00:00
parent 20bf38d89f
commit 4fadbfc400
2 changed files with 11 additions and 1 deletions

View File

@ -53,7 +53,12 @@ if($_POST["del_confirm"] == "y"){
}
include("adm_list.php");
exit();
}else{
} else {
if (!is_array($d) || count($d)==0) {
$error=_("Please check the accounts you want to delete");
require("adm_list.php");
exit();
}
include("head.php");
?>
</head>

View File

@ -2944,3 +2944,8 @@ msgstr "Listes"
msgid "DB"
msgstr "Bases"
msgid "MB"
msgstr "Mo"
msgid "Please check the accounts you want to delete"
msgstr "Veuillez cocher les comptes que vous souhaitez effacer"