summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index f8e5016ca..a61fd4dfd 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -167,7 +167,7 @@ function system_test() {
function system_user($type, $edit, &$user, $category = NULL) {
if ($type == 'form' && $category == 'account') {
if (user_access('select different theme')) {
- $themes = list_themes();
+ $themes = array_filter(list_themes(), create_function('$theme', 'return $theme->status;'));
if (count($themes) > 1) {
ksort($themes);