From 38ce4985f47c6caf5d59a30da3b4594b2eb1846d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 17 Oct 2024 17:43:57 +0200 Subject: [PATCH] [ticket/17414] Use language class in adm_back_link() PHPBB-17414 --- phpBB/includes/functions_acp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index 646d2f34d5..a3bae23ab5 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -203,8 +203,8 @@ function adm_page_footer($copyright_html = true) */ function adm_back_link($u_action) { - global $user; - return '

« ' . $user->lang['BACK_TO_PREV'] . ''; + global $language; + return '

« ' . $language->lang('BACK_TO_PREV') . ''; } /**