aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-11-27 20:45:08 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-11-27 20:45:08 +0100
commit642bfe9a3946a4074e4c3ed59c670b1a16e180d1 (patch)
tree36c98c8a9afcacaf30b8fdeb3af50d4655afa31a
parent997bdc7778f5c967b2acb8479ee1c0dfe909d5b8 (diff)
parent260dc5ed7c4a113039071a715a8206a2e073e640 (diff)
downloadforums-642bfe9a3946a4074e4c3ed59c670b1a16e180d1.tar
forums-642bfe9a3946a4074e4c3ed59c670b1a16e180d1.tar.gz
forums-642bfe9a3946a4074e4c3ed59c670b1a16e180d1.tar.bz2
forums-642bfe9a3946a4074e4c3ed59c670b1a16e180d1.tar.xz
forums-642bfe9a3946a4074e4c3ed59c670b1a16e180d1.zip
Merge pull request #4512 from senky/ticket/14863
[ticket/14863] Properly treat plural rules in confirmation box title
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a152d9b620..ba448f3125 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2776,7 +2776,7 @@ function confirm_box($check, $title = '', $hidden = '', $html_body = 'confirm_bo
$u_action .= ((strpos($u_action, '?') === false) ? '?' : '&amp;') . 'confirm_key=' . $confirm_key;
$template->assign_vars(array(
- 'MESSAGE_TITLE' => (!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang[$title],
+ 'MESSAGE_TITLE' => (!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang($title, 1),
'MESSAGE_TEXT' => (!isset($user->lang[$title . '_CONFIRM'])) ? $title : $user->lang[$title . '_CONFIRM'],
'YES_VALUE' => $user->lang['YES'],