fix undefined variable when deleting a customer-domain as admin
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -210,6 +210,8 @@ if ($page == 'domains' || $page == 'overview') {
|
|||||||
'id' => $id
|
'id' => $id
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$deleted_domains = $del_stmt->rowCount();
|
||||||
|
|
||||||
$upd_stmt = Database::prepare("
|
$upd_stmt = Database::prepare("
|
||||||
UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET
|
UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET
|
||||||
`subdomains_used` = `subdomains_used` - :domaincount
|
`subdomains_used` = `subdomains_used` - :domaincount
|
||||||
|
|||||||
Reference in New Issue
Block a user