[ticket/331] Remove EPV errors in code

This commit is contained in:
Marc Alexander
2014-08-17 16:01:53 +02:00
parent 5eceecf442
commit a031bd611e
2 changed files with 3 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ class stylechanger extends module_base
$url = append_sid("{$this->phpbb_root_path}app.{$this->php_ext}/portal", 'style=' . $row['style_id']);
}
++$style_count;
$style_select .= '<option value="' . $url . '"' . ($row['style_id'] == $this->user->style['style_id'] ? ' selected="selected"' : '') . '>' . htmlspecialchars($row['style_name']) . '</option>';
$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))