From f711b03b4fe727d86df605712da128ace567ea3c Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sun, 8 Feb 2015 15:21:19 +0100 Subject: [PATCH] don't use -1 for standard-subdomains as the parentdomainid field is declared as unsigned int and therefore converted to 0 anyways Signed-off-by: Michael Kaufmann (d00p) --- admin_customers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_customers.php b/admin_customers.php index 0b179d94..090b9ac5 100644 --- a/admin_customers.php +++ b/admin_customers.php @@ -892,7 +892,7 @@ if ($page == 'customers' `domain` = :domain, `customerid` = :customerid, `adminid` = :adminid, - `parentdomainid` = '-1', + `parentdomainid` = '0', `documentroot` = :docroot, `zonefile` = '', `isemaildomain` = '0', @@ -1254,7 +1254,7 @@ if ($page == 'customers' `domain` = :domain, `customerid` = :customerid, `adminid` = :adminid, - `parentdomainid` = '-1', + `parentdomainid` = '0', `documentroot` = :docroot, `zonefile` = '', `isemaildomain` = '0',