if ($num_themes > 1) {
// If more than 1 is installed output selection box
$OUT = generateThemeSelectionBox();
-} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == 0))) {
+} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == '0'))) {
// If there's only one just output it's name
$OUT = loadTemplate('theme_one', true, getCurrentThemeName());
} elseif (isAdmin()) {