summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-23 23:32:23 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-23 23:32:23 -0400
commit25a6f240a4549cdccc677abb988b21d1d1a9f1c5 (patch)
treeebca6ef2e9069523fe1507693c49e6419618f44b /lib
parentfcd473a1a36fcc9a2940d6ce217fed4c744b4dae (diff)
better cookie building
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
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);
}