1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Merge remote-tracking branch 'naderman/ticket/9892' into develop-olympus

* naderman/ticket/9892:
  [ticket/9892] _sql in the updater needs to return the transaction results
This commit is contained in:
Andreas Fischer
2011-06-13 00:09:37 +02:00

View File

@@ -543,11 +543,11 @@ function _sql($sql, &$errored, &$error_ary, $echo_dot = true)
if ($sql === 'begin') if ($sql === 'begin')
{ {
$db->sql_transaction('begin'); $result = $db->sql_transaction('begin');
} }
else if ($sql === 'commit') else if ($sql === 'commit')
{ {
$db->sql_transaction('commit'); $result = $db->sql_transaction('commit');
} }
else else
{ {