fix wrong usage of rowCount()

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-20 14:14:33 +01:00
parent de5f85dacf
commit cf2eea43c9
2 changed files with 1 additions and 74 deletions

View File

@@ -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