From 2fe5e3b6ebf200939946d6dc51ef9bfde9f058fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sat, 24 Nov 2007 20:13:43 +0000 Subject: [PATCH] #194859 by Rob Loach: missing brackets around table names in user.admin.inc --- modules/user/user.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc index 34e3dafb280..2560b6bb051 100644 --- a/modules/user/user.admin.inc +++ b/modules/user/user.admin.inc @@ -141,7 +141,7 @@ function user_admin_account() { $sql = 'SELECT DISTINCT u.uid, u.name, u.status, u.created, u.access FROM {users} u LEFT JOIN {users_roles} ur ON u.uid = ur.uid '. $filter['join'] .' WHERE u.uid != 0 '. $filter['where']; $sql .= tablesort_sql($header); - $query_count = 'SELECT COUNT(DISTINCT u.uid) FROM users u LEFT JOIN users_roles ur ON u.uid = ur.uid '. $filter['join'] .' WHERE u.uid != 0 '. $filter['where']; + $query_count = 'SELECT COUNT(DISTINCT u.uid) FROM {users} u LEFT JOIN {users_roles} ur ON u.uid = ur.uid '. $filter['join'] .' WHERE u.uid != 0 '. $filter['where']; $result = pager_query($sql, 50, 0, $query_count, $filter['args']); $form['options'] = array(