Skip to content

Commit

Permalink
Odd semicolon
Browse files Browse the repository at this point in the history
admin\settings\index.php
Ln:237 = Odd semicolon
Ln:249 = Odd semicolon
  • Loading branch information
NorHei committed Nov 27, 2015
1 parent d322a7f commit 98bda74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wbce/admin/settings/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
while($addon = $result->fetchRow()) {
$template->set_var('FILE', $addon['directory']);
$template->set_var('NAME', $addon['name']);
if(($addon['directory'] == DEFAULT_TEMPLATE) ? $selected = ' selected="selected"' : $selected = '');
$selected = ($addon['directory'] == DEFAULT_TEMPLATE) ? ' selected="selected"' : '';
$template->set_var('SELECTED', $selected);
$template->parse('template_list', 'template_list_block', true);
}
Expand All @@ -246,7 +246,7 @@
while($addon = $result->fetchRow()) {
$template->set_var('FILE', $addon['directory']);
$template->set_var('NAME', $addon['name']);
if(($addon['directory'] == DEFAULT_THEME) ? $selected = ' selected="selected"' : $selected = '');
$selected = ($addon['directory'] == DEFAULT_TEMPLATE) ? ' selected="selected"' : '';
$template->set_var('SELECTED', $selected);
$template->parse('theme_list', 'theme_list_block', true);
}
Expand Down

0 comments on commit 98bda74

Please sign in to comment.