summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremy2008-11-11 03:05:10 (GMT)
committer jeremy2008-11-11 03:05:10 (GMT)
commitfe2a698143e7c7df75081b4ee5d54356da78d22c (patch)
treec601fda1fb745b465e5f15bf43d10fd9c90a2619
parent7b997ca4c5f79b19e744a900909ef5c308f5da54 (diff)
Fix bug #330044 in HEAD: {user} -> {users}
-rw-r--r--memcache-session.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcache-session.inc b/memcache-session.inc
index df85ff2..bd8b96c 100644
--- a/memcache-session.inc
+++ b/memcache-session.inc
@@ -134,7 +134,7 @@ function sess_user_load($session) {
if ($session && $session->uid > 0) {
$user = dmemcache_get($session->uid, 'users');
if (!$user->uid && $user->uid != 0) {
- $user = db_fetch_object(db_query("SELECT u.* FROM {user} u WHERE u.uid = %d", $session->uid));
+ $user = db_fetch_object(db_query("SELECT u.* FROM {users} u WHERE u.uid = %d", $session->uid));
$user = drupal_unpack($user);
$user->session = empty($session->session) ? '' : $session->session;