diff --git a/bureau/admin/adm_dodefquotas.php b/bureau/admin/adm_dodefquotas.php index 6c8f6acf..320060d8 100644 --- a/bureau/admin/adm_dodefquotas.php +++ b/bureau/admin/adm_dodefquotas.php @@ -46,14 +46,37 @@ if($_POST["action"] == "add") { } include("adm_defquotas.php"); } else if($_POST["action"] == "delete") { - if($_POST['type']) { - if($quota->deltype($_POST['type'])) { - $error=_("Account type"). " \"$type\" "._("deleted"); - } else { - $error=_("Account type"). " \"$type\" "._("could not be deleted"); + if($_POST["del_confirm"] == "y"){ + if($_POST['type']) { + if($quota->deltype($_POST['type'])) { + $error=_("Account type"). " \"$type\" "._("deleted"); + } else { + $error=_("Account type"). " \"$type\" "._("could not be deleted"); + } } + include("adm_defquotas.php"); + }else{ + include("head.php"); + ?> + + +

:

+ +
+ + " /> + +

+

+
+ " />   + " onclick="document.location='adm_defquotas.php';" /> +
+
+ + + \ No newline at end of file +?>