aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convert/convertor.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/convert/convertor.php')
-rw-r--r--phpBB/install/convert/convertor.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/phpBB/install/convert/convertor.php b/phpBB/install/convert/convertor.php
index 8dbc38f303..2dae356c26 100644
--- a/phpBB/install/convert/convertor.php
+++ b/phpBB/install/convert/convertor.php
@@ -1591,9 +1591,10 @@ class convertor
*/
public function error($error, $line, $file, $skip = false)
{
- //
- // @todo
- //
+ $this->template->assign_block_vars('errors', array(
+ 'TITLE' => $error,
+ 'DESCRIPTION' => 'In ' . $file . ' on line ' . $line,
+ ));
}
/**
@@ -1609,8 +1610,9 @@ class convertor
*/
public function db_error($error, $sql, $line, $file, $skip = false)
{
- //
- // @todo
- //
+ $this->template->assign_block_vars('errors', array(
+ 'TITLE' => $error,
+ 'DESCRIPTION' => 'In ' . $file . ' on line ' . $line . '<br /><br /><strong>SQL:</strong> ' . $sql,
+ ));
}
}