Mercurial > hg > fapweb
changeset 579:204106edd2b6
Return the return values.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 02 Oct 2014 13:36:59 +0300 |
parents | 4227095a1384 |
children | 3929a5a87815 |
files | msitegen.inc.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/msitegen.inc.php Thu Oct 02 13:35:30 2014 +0300 +++ b/msitegen.inc.php Thu Oct 02 13:36:59 2014 +0300 @@ -645,14 +645,14 @@ function stDBBeginTransaction($dbh = FALSE) { global $db; - stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "BEGIN TRANSACTION"); + return stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "BEGIN TRANSACTION"); } function stDBCommitTransaction($dbh) { global $db; - stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "COMMIT"); + return stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "COMMIT"); }