#1013396 by ben.bunk | mavrom: Fixed User list query fails on SQL Server.
authorMoshe Weitzman
Wed, 16 Mar 2011 03:42:17 +0000 (23:42 -0400)
committerMoshe Weitzman
Wed, 16 Mar 2011 03:42:17 +0000 (23:42 -0400)
devel.module

index 7ec1252..fddd7b4 100644 (file)
@@ -743,6 +743,7 @@ function devel_switch_user_list() {
     $roles = user_roles(TRUE, 'switch users');
     $query = db_select('users', 'u');
     $query->addField('u', 'uid');
+    $query->addField('u', 'access');
     $query->distinct();
     $query->condition('u.uid', 0, '>');
     $query->condition('u.status', 0, '>');