Skip to content

Commit

Permalink
Remove extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Oct 16, 2017
1 parent 0fe89d9 commit 5c89725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function select_gallery_mode($selected, $cfg_key = '')

foreach ($opt_ary as $opt_key => $opt_value)
{
$options .= '<option value="' . $opt_key . '"' . (($selected == $opt_key) ? ' selected="selected"' : '') . '>' . $this->user->lang($opt_value) . '</option>';
$options .= '<option value="' . $opt_key . '"' . ($selected == $opt_key ? ' selected="selected"' : '') . '>' . $this->user->lang($opt_value) . '</option>';
}

return $options;
Expand Down

0 comments on commit 5c89725

Please sign in to comment.