diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-04 09:32:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-04 09:32:28 +0000 |
commit | 9385794e235c6e291a02540bdfe0ce6cd0367449 (patch) | |
tree | 99d24c423b797707d1f0d538ab89dc274578df41 /modules/system/system.module | |
parent | 3dae958731450beeda816286b947016ec263ded1 (diff) | |
download | brdo-9385794e235c6e291a02540bdfe0ce6cd0367449.tar.gz brdo-9385794e235c6e291a02540bdfe0ce6cd0367449.tar.bz2 |
- Patch #41548 by Neil: critical bugfix: theme didn't load when styles are used.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
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); |