From 3ece8ca56dc7fb89f762d02d937f0ee1f65f0534 Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Fri, 31 Aug 2012 15:20:03 +0000 Subject: [PATCH] Undefined index --- bureau/class/m_dom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index b6e5afe2..e0c70bb5 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -390,7 +390,7 @@ class m_dom { } function create_default_subdomains($domain,$target_domain=""){ - global $db; + global $db,$err; $err->log("dom","create_default_subdomains",$domain); $query="SELECT sub, domain_type, domain_type_parameter FROM default_subdomains WHERE concerned = 'SLAVE' or concerned = 'BOTH' and enabled=1;"; if(empty($target_domain)) {