Don't assign variable from void function

Database::pexecute is based on execute which is a void function.
It does not return a value which can be assigned to a variable.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil
2015-11-15 10:15:54 +01:00
parent 997141efea
commit 5df4b3e7df

View File

@@ -190,7 +190,7 @@ if ($page == 'domains'
SELECT `id` FROM `" . TABLE_PANEL_DOMAINS . "`
WHERE (`id` = :id OR `parentdomainid` = :id ".$rsd_sql.") AND `isemaildomain` = '1'"
);
$subResult = Database::pexecute($subresult_stmt, array('id' => $id));
Database::pexecute($subresult_stmt, array('id' => $id));
$idString = array();
$paramString = array();
while ($subRow = $subresult_stmt->fetch(PDO::FETCH_ASSOC)) {