using bogus attribute of $rm
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
This commit is contained in:
parent
cdeddb6ffc
commit
5650d698be
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user