1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/10510] Moved a $user->lang call into the function.

PHPBB3-10510
This commit is contained in:
Callum Macrae
2012-03-12 07:43:01 +00:00
parent b530a4ede4
commit 79a987ffcb
2 changed files with 4 additions and 4 deletions

View File

@@ -535,10 +535,9 @@ $quickmod_array = array(
foreach($quickmod_array as $option => $qm_ary)
{
$lang_string = $user->lang($qm_ary[0]);
if (!empty($qm_ary[1]))
{
phpbb_add_quickmod_option($option, $lang_string);
phpbb_add_quickmod_option($option, $qm_ary[0]);
}
}