diff options
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-x | phpBB/install/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 6539fee1b3..a75c94295d 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -574,6 +574,12 @@ class module 'MESSAGE_TEXT' => '<p>' . basename($file) . ' [ ' . $line . ' ]</p><p>SQL : ' . $sql . '</p><p><b>' . $error . '</b></p>', )); + // Rollback if in transaction + if ($db->transaction) + { + $db->sql_transaction('rollback'); + } + $this->page_footer(); } |