can-edit-domain is not required to create subdomains of that domain if subdomains are allowed

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-12-09 08:57:18 +01:00
parent a839d76d1f
commit 9dec83fff2

View File

@@ -141,7 +141,6 @@ if ($page == 'overview' || $page == 'domains') {
WHERE `customerid` = :customerid
AND `parentdomainid` = '0'
AND `email_only` = '0'
AND `caneditdomain` = '1'
AND `deactivated` = '0'
ORDER BY `domain` ASC");
Database::pexecute($stmt, [