summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-22 07:23:58 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-22 07:23:58 +0000
commit25f13a64c407103b2c07d3c6bf68ccecdd5b99ec (patch)
tree56bc7909e78bfe60329c1b98f556ec4abf558efb /modules/user.module
parentda6983ca2ad91a1edf6824fa7ef64f8b44a7786b (diff)
downloadbrdo-25f13a64c407103b2c07d3c6bf68ccecdd5b99ec.tar.gz
brdo-25f13a64c407103b2c07d3c6bf68ccecdd5b99ec.tar.bz2
- Patch #45843 by markus: roles are no longer required.
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index c14320529..12405d285 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -1181,7 +1181,7 @@ function user_edit_form($uid, $edit) {
$roles = user_roles(1);
unset($roles[DRUPAL_AUTHENTICATED_RID]);
if ($roles) {
- $form['account']['roles'] = array('#type' => 'checkboxes', '#title' => t('Roles'), '#default_value' => array_keys((array)$edit['roles']), '#options' => $roles, '#description' => t('The user receives the combined permissions of the %au role, and all roles selected here.', array('%au' => theme('placeholder', t('authenticated user')))), '#required' => TRUE);
+ $form['account']['roles'] = array('#type' => 'checkboxes', '#title' => t('Roles'), '#default_value' => array_keys((array)$edit['roles']), '#options' => $roles, '#description' => t('The user receives the combined permissions of the %au role, and all roles selected here.', array('%au' => theme('placeholder', t('authenticated user')))));
}
}