From 25a6f240a4549cdccc677abb988b21d1d1a9f1c5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 23 Jun 2008 23:32:23 -0400 Subject: [PATCH] better cookie building darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 791a40690d..b506a80581 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); }