mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 10:27:29 +00:00
don't limit this query to emaildomains
...to catch possibly existing orphaned entries in the mail-user/mail- forwarding tables
This commit is contained in:
parent
1664896062
commit
8e1a1043a5
@ -166,7 +166,7 @@ if ($page == 'domains' || $page == 'overview') {
|
||||
|
||||
$subresult_stmt = Database::prepare("
|
||||
SELECT `id` FROM `" . TABLE_PANEL_DOMAINS . "`
|
||||
WHERE (`id` = :id OR `parentdomainid` = :id " . $rsd_sql . ") AND `isemaildomain` = '1'");
|
||||
WHERE (`id` = :id OR `parentdomainid` = :id " . $rsd_sql . ")");
|
||||
Database::pexecute($subresult_stmt, array(
|
||||
'id' => $id
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user