// Select all themes we want
$result = SQL_QUERY('SELECT
- `theme_path`, `theme_name`
+ `theme_path`,`theme_name`
FROM
`{?_MYSQL_PREFIX?}_themes`
' . $add . '
if ((isGetRequestParameterSet('theme')) && (isIncludeReadable($theme))) {
// Set cookie from URL data
setTheme(getRequestParameter('theme'));
- } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", secureString(postRequestParameter('theme'))))) {
+ } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", postRequestParameter('theme')))) {
// Set cookie from posted data
- setTheme(secureString(postRequestParameter('theme')));
+ setTheme(postRequestParameter('theme'));
}
// Set return value