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) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-02-08 15:21:19 +01:00
parent 49b82201c7
commit f711b03b4f

View File

@@ -892,7 +892,7 @@ if ($page == 'customers'
`domain` = :domain, `domain` = :domain,
`customerid` = :customerid, `customerid` = :customerid,
`adminid` = :adminid, `adminid` = :adminid,
`parentdomainid` = '-1', `parentdomainid` = '0',
`documentroot` = :docroot, `documentroot` = :docroot,
`zonefile` = '', `zonefile` = '',
`isemaildomain` = '0', `isemaildomain` = '0',
@@ -1254,7 +1254,7 @@ if ($page == 'customers'
`domain` = :domain, `domain` = :domain,
`customerid` = :customerid, `customerid` = :customerid,
`adminid` = :adminid, `adminid` = :adminid,
`parentdomainid` = '-1', `parentdomainid` = '0',
`documentroot` = :docroot, `documentroot` = :docroot,
`zonefile` = '', `zonefile` = '',
`isemaildomain` = '0', `isemaildomain` = '0',