summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}