]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better cookie building
authorEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 03:32:23 +0000 (23:32 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 03:32:23 +0000 (23:32 -0400)
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz

lib/util.php

index 791a40690dc4bbadfea2b3d707acb7361b00c230..b506a80581d2308bcfdfc849555350b8e6d787f5 100644 (file)
@@ -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);
 }