summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-12 02:57:15 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-12 02:57:15 +0000
commitfd37414f45cf442b6fdc551c07da1b970ca04691 (patch)
treee1bb78bd4c1f04a07f10b6a8fce509846576afda /modules/profile
parent1ba059b3b26e21d2c1c566556a4e3be04c982c24 (diff)
downloadbrdo-fd37414f45cf442b6fdc551c07da1b970ca04691.tar.gz
brdo-fd37414f45cf442b6fdc551c07da1b970ca04691.tar.bz2
- Patch #171117 by earnie, sun, JirkaRybka, catch, beginner: regression: users without administer users permission can not access user profiles of users that never logged in .
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.pages.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc
index 064630ba4..039bc5d44 100644
--- a/modules/profile/profile.pages.inc
+++ b/modules/profile/profile.pages.inc
@@ -38,7 +38,6 @@ function profile_browse() {
$query
->fields('u', array('uid', 'access'))
->condition('v.fid', $field->fid)
- ->condition('u.access', 0, '<>')
->condition('u.status', 0, '<>')
->orderBy('u.access', 'DESC');
@@ -99,7 +98,6 @@ function profile_browse() {
->fields('u', array('uid', 'access'))
->condition('u.uid', 0, '>')
->condition('u.status', 0, '>')
- ->condition('u.access', 0, '>')
->orderBy('u.access', 'DESC')
->limit(20)
->execute()