Changing the default theme in Drupal to a disabled theme used to enable that theme automatically. Now, Drupal will change the default theme but fail to render any helpful content - as the theme is disabled.

Comments

chx’s picture

Assigned: Unassigned » chx
nedjo’s picture

Suggested fix:

In system_themes_execute(), change

        if ($choice) {

to

        // Ensure default theme is enabled.
        if ($choice || ($key == $values['theme_default'])) {
chx’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)