aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 10aae47f1c..93b8c7719c 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -192,9 +192,9 @@ if(!$is_auth['auth_view'] || !$is_auth['auth_read'])
//
// The user is not authed to read this forum ...
//
- $msg = $lang['Sorry_auth'] . $is_auth['auth_read_type'] . $lang['can_read'] . $lang['this_forum'];
+ $message = sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);
- message_die(GENERAL_MESSAGE, $msg);
+ message_die(GENERAL_MESSAGE, $message);
}
//
// End auth check