diff --git a/bureau/admin/dom_subdel.php b/bureau/admin/dom_subdel.php index 98b3f167..d5e16714 100644 --- a/bureau/admin/dom_subdel.php +++ b/bureau/admin/dom_subdel.php @@ -31,13 +31,13 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "sub_domain_id" => array ("request", "integer", ""), + "sub_domain_id" => array ("request", "integer", ""), ); getFields($fields); $dom->lock(); if (!$r=$dom->get_sub_domain_all($sub_domain_id)) { - $error=$err->errstr(); + $error=$err->errstr(); } $dom->unlock(); @@ -48,27 +48,36 @@ if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) { } ?> -
$error
"; + include_once("foot.php"); + exit(); +} ?>