diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-17 02:50:41 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-17 02:50:41 +0000 |
commit | a558be6532577f4c7d529fb54d402d4bc58a2aed (patch) | |
tree | 7a5ee153710b4e1d5a31e5481691a6b57ced238f /modules/user/user.module | |
parent | f39f02ce7573d2e1221e985a787edf5d35c69358 (diff) | |
download | brdo-a558be6532577f4c7d529fb54d402d4bc58a2aed.tar.gz brdo-a558be6532577f4c7d529fb54d402d4bc58a2aed.tar.bz2 |
#622136 by brandonojc and mgifford: Fixed user filter accessibility.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index a136dbde9..a9cca9849 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2783,7 +2783,9 @@ function user_filters() { $filters['role'] = array( 'title' => t('role'), 'field' => 'ur.rid', - 'options' => $roles, + 'options' => array( + '[any]' => t('any'), + ) + $roles, ); } @@ -2800,13 +2802,19 @@ function user_filters() { ksort($options); $filters['permission'] = array( 'title' => t('permission'), - 'options' => $options, + 'options' => array( + '[any]' => t('any'), + ) + $options, ); $filters['status'] = array( 'title' => t('status'), 'field' => 'u.status', - 'options' => array(1 => t('active'), 0 => t('blocked')), + 'options' => array( + '[any]' => t('any'), + 1 => t('active'), + 0 => t('blocked'), + ), ); return $filters; } |