From: Evan Prodromou Date: Tue, 24 Jun 2008 03:32:23 +0000 (-0400) Subject: better cookie building X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=25a6f240a4549cdccc677abb988b21d1d1a9f1c5;p=quix0rs-gnu-social.git better cookie building darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz --- 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); }