mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/9892] _sql in the updater needs to return the transaction results
PHPBB3-9892
This commit is contained in:
parent
4e0717b4d7
commit
c9e22ac509
1 changed files with 2 additions and 2 deletions
|
@ -536,11 +536,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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue