diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-23 23:32:23 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-23 23:32:23 -0400 |
commit | 25a6f240a4549cdccc677abb988b21d1d1a9f1c5 (patch) | |
tree | ebca6ef2e9069523fe1507693c49e6419618f44b /lib | |
parent | fcd473a1a36fcc9a2940d6ce217fed4c744b4dae (diff) |
better cookie building
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
Diffstat (limited to 'lib')
-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 791a40690..b506a8058 100644 --- a/lib/util.php +++ b/lib/util.php @@ -464,7 +464,7 @@ function common_rememberme() { return false; } common_set_cookie(REMEMBERME, - $rm->user_id . ':' . $rm->code, + implode(':', array($rm->user_id, $rm->code)), time() + REMEMBERME_EXPIRY); } |