From c9e22ac5098d0ff6c66256965f16daa7511e3e58 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 12 Jun 2011 23:45:23 +0200 Subject: [PATCH] [ticket/9892] _sql in the updater needs to return the transaction results PHPBB3-9892 --- phpBB/install/database_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 5bc856250b..c3f22df530 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -536,11 +536,11 @@ function _sql($sql, &$errored, &$error_ary, $echo_dot = true) if ($sql === 'begin') { - $db->sql_transaction('begin'); + $result = $db->sql_transaction('begin'); } else if ($sql === 'commit') { - $db->sql_transaction('commit'); + $result = $db->sql_transaction('commit'); } else {