diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-07 08:20:31 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-07 08:20:31 +0000 |
commit | 90b00a688fef440d364c3384f7453b29b152665b (patch) | |
tree | 16236f61d894329229b1195a4861c89333096834 /modules/user | |
parent | f80f7a7dbd78c68ca38bc6279c942db053f62a89 (diff) | |
download | brdo-90b00a688fef440d364c3384f7453b29b152665b.tar.gz brdo-90b00a688fef440d364c3384f7453b29b152665b.tar.bz2 |
#80085: Don't show user picture form on registration pages (chx / webchick)
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 478a4053e..f278f468c 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1333,7 +1333,7 @@ function user_edit_form($uid, $edit, $register = FALSE) { } // Picture/avatar: - if (variable_get('user_pictures', 0)) { + if (variable_get('user_pictures', 0) && !$register) { $form['picture'] = array('#type' => 'fieldset', '#title' => t('Picture'), '#weight' => 1); $picture = theme('user_picture', (object)$edit); if ($picture) { |