diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index ddb76c21..b6e28367 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -40,6 +40,12 @@ $dom->lock(); if (!$r=$dom->get_domain_all($domain)) { $error=$err->errstr(); } +if (isset($error) && $error) { + // if there is an errpr error, means problems with the domain. We stop + echo "

$error

"; + include_once("foot.php"); + die(); +} $dom->unlock(); ?> @@ -66,11 +72,6 @@ function dnsoff() { }

-$error

"; - } -?>