diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-28 12:52:57 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-28 12:52:57 +0000 |
commit | 3bf1c719f5c9306cd42f51119a3491bf43e49a20 (patch) | |
tree | 4fda3c3ff01d1f44ac654764a3801eec4d1e2b47 /modules/system/system.module | |
parent | 59339ea1f49f4bed1797d02a7f80750989cebd0f (diff) | |
download | brdo-3bf1c719f5c9306cd42f51119a3491bf43e49a20.tar.gz brdo-3bf1c719f5c9306cd42f51119a3491bf43e49a20.tar.bz2 |
#460706 by wulff and c960657: Don't show surrounding fieldset on user registration form when only one profile category exists.
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 807b80015..7a2667457 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -913,7 +913,7 @@ function system_user_register(&$edit, &$user, $category = NULL) { system_user_timezone($edit, $form); } else { - $form['timezone'] = array( + $form['account']['timezone'] = array( '#type' => 'hidden', '#value' => variable_get('user_default_timezone', DRUPAL_USER_TIMEZONE_DEFAULT) ? '' : variable_get('date_default_timezone', ''), ); |