diff options
author | Callum Macrae <callum@lynxphp.com> | 2012-03-12 06:40:10 +0000 |
---|---|---|
committer | Callum Macrae <callum@lynxphp.com> | 2012-03-17 18:06:46 +0000 |
commit | b530a4ede452dc52f8d960cb1e6a608ceca00565 (patch) | |
tree | e5036a30eba5cee16986aafbcb1ac5d8b8db28b8 | |
parent | 784c9725f3394ce866ab260485b32d501e07a628 (diff) | |
download | forums-b530a4ede452dc52f8d960cb1e6a608ceca00565.tar forums-b530a4ede452dc52f8d960cb1e6a608ceca00565.tar.gz forums-b530a4ede452dc52f8d960cb1e6a608ceca00565.tar.bz2 forums-b530a4ede452dc52f8d960cb1e6a608ceca00565.tar.xz forums-b530a4ede452dc52f8d960cb1e6a608ceca00565.zip |
[ticket/10510] Shortened an if statement.
Replaced an isset() and var check with a !empty.
PHPBB3-10510
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 46c25cba81..1c03aae39e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -536,7 +536,7 @@ $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]) + if (!empty($qm_ary[1])) { phpbb_add_quickmod_option($option, $lang_string); } |