aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/acp/acp_extensions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index 17ab4f3169..24211196bd 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -114,7 +114,7 @@ class acp_extensions
}
catch (phpbb_db_migration_exception $e)
{
- $template->assign_var('MIGRATOR_ERROR', $user->lang($e->getMessage(), $e->getParameters()));
+ $template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
}
$this->tpl_name = 'acp_ext_enable';
@@ -174,7 +174,7 @@ class acp_extensions
}
catch (phpbb_db_migration_exception $e)
{
- $template->assign_var('MIGRATOR_ERROR', $user->lang($e->getMessage(), $e->getParameters()));
+ $template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
}
$this->tpl_name = 'acp_ext_purge';