[ticket/558] Fix coding guidelines infractions

B3P-558
This commit is contained in:
Marc Alexander
2015-06-03 13:59:26 +02:00
parent 8cdf4a2161
commit 522b4d3087
16 changed files with 76 additions and 76 deletions

View File

@@ -106,7 +106,7 @@ class stylechanger extends module_base
$style_select .= '<option value="' . $url . '"' . ($row['style_id'] == $this->user->style['style_id'] ? ' selected="selected"' : '') . '>' . utf8_htmlspecialchars($row['style_name']) . '</option>';
}
$this->db->sql_freeresult($result);
if(strlen($style_select))
if (strlen($style_select))
{
$this->template->assign_var('STYLE_SELECT', $style_select);
}