From: Evan Prodromou Date: Tue, 24 Jun 2008 04:02:34 +0000 (-0400) Subject: using bogus attribute of $rm X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5650d698bed8351f4f9c86b615ae89184cec8e94;p=quix0rs-gnu-social.git using bogus attribute of $rm darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz --- diff --git a/lib/util.php b/lib/util.php index 96e7e08cf7..88a71273dd 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();