1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/11672] Replace sprintf() usage with $user->lang().

PHPBB3-11672
This commit is contained in:
Cesar G
2013-10-17 20:14:14 -07:00
parent 0faafce4ce
commit c6473da412
4 changed files with 17 additions and 11 deletions

View File

@@ -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);