diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 00:02:34 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 00:02:34 -0400 |
commit | 5650d698bed8351f4f9c86b615ae89184cec8e94 (patch) | |
tree | f80dd82a39bd7e051ad6575cf000342ed6494a2b | |
parent | cdeddb6ffc08200829cf21ad4838305022340641 (diff) |
using bogus attribute of $rm
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |