summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-24 00:02:34 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-24 00:02:34 -0400
commit5650d698bed8351f4f9c86b615ae89184cec8e94 (patch)
treef80dd82a39bd7e051ad6575cf000342ed6494a2b
parentcdeddb6ffc08200829cf21ad4838305022340641 (diff)
using bogus attribute of $rm
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
-rw-r--r--lib/util.php2
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();