diff options
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 717e1515a8..46c25cba81 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -535,8 +535,8 @@ $quickmod_array = array( foreach($quickmod_array as $option => $qm_ary) { - $lang_string = $user->lang[$qm_ary[0]]; - if ((isset($qm_ary[1])) ? $qm_ary[1] : true) + $lang_string = $user->lang($qm_ary[0]); + if (isset($qm_ary[1]) && $qm_ary[1]) { phpbb_add_quickmod_option($option, $lang_string); } |