summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-20 17:43:03 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-20 17:43:03 +0000
commite57faf219274c3802fef3831be18f15961035b05 (patch)
tree9ab269050888eed8d42e9a2864c969732daab4a5 /modules/user/user.module
parent25081b2103d5a758876adc12ea097faabe153791 (diff)
downloadbrdo-e57faf219274c3802fef3831be18f15961035b05.tar.gz
brdo-e57faf219274c3802fef3831be18f15961035b05.tar.bz2
- Bugfix: fixed problem with changing themes. Didn't apply Al's patch as
the fix was somewhat simpler. Fixes bug #2003. - Bugfix: fixed problem with voting on certain poll pages. Patch #37 by Al. - Improvement: removed stupid descriptions from profile module.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index e073b1e32..c888868e9 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1164,7 +1164,7 @@ function user_page() {
case t("Save user information"):
case "edit":
$output = user_edit($edit);
- $theme = theme_init();
+ $GLOBALS["theme"] = theme_init();
theme("header");
theme("box", t("User account"), user_menu());
theme("box", t("Edit user information"), $output);