summaryrefslogtreecommitdiff
path: root/modules/profile/profile.pages.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
commit665c9fdc2ca50f7960c16b375685485b3eb8b1cc (patch)
tree273088dccb033efaf0e7ed718e6041842e32c7ae /modules/profile/profile.pages.inc
parent116de1793300f2aee3d71297c26ec448f8141196 (diff)
downloadbrdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.gz
brdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.bz2
Roll-back of users -> user table name change in #330983: Broken pgsql is no fun.
Diffstat (limited to 'modules/profile/profile.pages.inc')
-rw-r--r--modules/profile/profile.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc
index bd14dac85..9cb761a28 100644
--- a/modules/profile/profile.pages.inc
+++ b/modules/profile/profile.pages.inc
@@ -55,7 +55,7 @@ function profile_browse() {
}
// Extract the affected users:
- $result = pager_query("SELECT u.uid, u.access FROM {user} u INNER JOIN {profile_value} v ON u.uid = v.uid WHERE v.fid = %d AND $query AND u.access != 0 AND u.status != 0 ORDER BY u.access DESC", 20, 0, NULL, $arguments);
+ $result = pager_query("SELECT u.uid, u.access FROM {users} u INNER JOIN {profile_value} v ON u.uid = v.uid WHERE v.fid = %d AND $query AND u.access != 0 AND u.status != 0 ORDER BY u.access DESC", 20, 0, NULL, $arguments);
$content = '';
while ($account = db_fetch_object($result)) {
@@ -88,7 +88,7 @@ function profile_browse() {
}
// Extract the affected users:
- $result = pager_query('SELECT uid, access FROM {user} WHERE uid > 0 AND status != 0 AND access != 0 ORDER BY access DESC', 20, 0, NULL);
+ $result = pager_query('SELECT uid, access FROM {users} WHERE uid > 0 AND status != 0 AND access != 0 ORDER BY access DESC', 20, 0, NULL);
$content = '';
while ($account = db_fetch_object($result)) {