bug in the code (perhaps)

alb - December 31, 2008 - 02:21
Project:User List
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

at row 126
$result = pager_query('SELECT u.uid, u.name FROM {users} u WHERE status <> 0 AND access <> 0 ORDER BY u.name ASC', $number, $element_override);

status and acces not have iinitially u.
u.status and u.access , so is correct?

also here row 110 not is used u. ; but here isn't necessary because isn't crete the table alias u
$result = pager_query('SELECT uid, name FROM {users} WHERE status <> 0 AND access <> 0 ORDER BY created DESC', $number, $element_override);

#1

deekayen - January 5, 2009 - 17:26
Status:active» fixed

#2

System Message - January 19, 2009 - 17:30
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.