#194859 by Rob Loach: missing brackets around table names in user.admin.inc
parent
5c504cef28
commit
2fe5e3b6eb
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue