mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 03:18:52 +00:00
[ticket/10510] Shortened an if statement.
Replaced an isset() and var check with a !empty. PHPBB3-10510
This commit is contained in:
parent
784c9725f3
commit
b530a4ede4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue