fix wrong usage of rowCount()
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -222,7 +222,7 @@ if ($page == 'domains'
|
||||
WHERE `id` = :id OR `parentdomainid` = :id ".$rsd_sql
|
||||
);
|
||||
Database::pexecute($del_stmt, array('id' => $id));
|
||||
$deleted_domains = Database::rowCount();
|
||||
$deleted_domains = $del_stmt->rowCount();
|
||||
|
||||
$upd_stmt = Database::prepare("
|
||||
UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET
|
||||
|
||||
Reference in New Issue
Block a user