summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-28 22:18:54 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-28 22:18:54 -0400
commit1df845db78007def800e6018be9fe89ab8be57d5 (patch)
treeb9792f178cab357b8f70461bdf738e6865b239ab /lib
parent54bee1b999273174b18fc30e69d5acce79d99e18 (diff)
fix random function name
darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.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 51616799f..f06f49d71 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1481,7 +1481,7 @@ function common_canonical_sms($sms) {
function common_session_token() {
common_ensure_session();
if (!array_key_exists('token', $_SESSION)) {
- $_SESSION['token'] = common_random_bytes(64);
+ $_SESSION['token'] = common_good_rand(64);
}
return $_SESSION['token'];
}