# HG changeset patch # User Dan # Date 1243826784 14400 # Node ID d0d3da40c39115700dbaa89f5b761a1426cb6e77 # Parent 6d32d80b21925c834e1c8e66191268735da4973a Theme selector: fixed disabled themes being displayed diff -r 6d32d80b2192 -r d0d3da40c391 ajax.php --- a/ajax.php Sun May 31 23:26:05 2009 -0400 +++ b/ajax.php Sun May 31 23:26:24 2009 -0400 @@ -559,6 +559,9 @@ $return = array(); foreach ( $template->theme_list as $theme ) { + if ( $theme['enabled'] != 1 ) + continue; + $return[] = array( 'theme_name' => $theme['theme_name'], 'theme_id' => $theme['theme_id'],