diff options
author | Nils Adermann <naderman@naderman.de> | 2011-06-12 23:45:23 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-06-12 23:45:23 +0200 |
commit | c9e22ac5098d0ff6c66256965f16daa7511e3e58 (patch) | |
tree | 523bd0f790f302f32ae416b429b14ad157f4100a /phpBB/install/database_update.php | |
parent | 4e0717b4d7da58469c795191236ad4256a20c72a (diff) | |
download | forums-c9e22ac5098d0ff6c66256965f16daa7511e3e58.tar forums-c9e22ac5098d0ff6c66256965f16daa7511e3e58.tar.gz forums-c9e22ac5098d0ff6c66256965f16daa7511e3e58.tar.bz2 forums-c9e22ac5098d0ff6c66256965f16daa7511e3e58.tar.xz forums-c9e22ac5098d0ff6c66256965f16daa7511e3e58.zip |
[ticket/9892] _sql in the updater needs to return the transaction results
PHPBB3-9892
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 4 |
1 files 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 { |