aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-10-17 20:14:14 -0700
committerCesar G <prototech91@gmail.com>2013-11-19 07:32:49 -0800
commitc6473da412d1a572ed80ec10d826239ad5ce5098 (patch)
tree7a028bf942614b70bf9bce790891583c043293ad /phpBB/includes/mcp
parent0faafce4ce254ff282de801901372f67ca4f4415 (diff)
downloadforums-c6473da412d1a572ed80ec10d826239ad5ce5098.tar
forums-c6473da412d1a572ed80ec10d826239ad5ce5098.tar.gz
forums-c6473da412d1a572ed80ec10d826239ad5ce5098.tar.bz2
forums-c6473da412d1a572ed80ec10d826239ad5ce5098.tar.xz
forums-c6473da412d1a572ed80ec10d826239ad5ce5098.zip
[ticket/11672] Replace sprintf() usage with $user->lang().
PHPBB3-11672
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 365a794253..e529960c99 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -887,7 +887,7 @@ class mcp_queue
}
else
{
- $message .= '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], "<a href=\"$redirect\">", '</a>') . $add_message;
+ $message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>') . $add_message;
}
trigger_error($message);