From 5650d698bed8351f4f9c86b615ae89184cec8e94 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 24 Jun 2008 00:02:34 -0400 Subject: using bogus attribute of $rm darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 96e7e08cf..88a71273d 100644 --- a/lib/util.php +++ b/lib/util.php @@ -477,7 +477,7 @@ function common_remembered_user() { if ($id && $code) { $rm = Remember_me::staticGet($code); if ($rm && ($rm->user_id == $id)) { - $user = User::staticGet($rm->id); + $user = User::staticGet($rm->user_id); if ($user) { # successful! $result = $rm->delete(); -- cgit v1.2.3-54-g00ecf