summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-06-20 01:24:53 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-06-20 01:24:53 -0400
commit74889ec599db820f3a48065a29697ea1414375a7 (patch)
tree7bf15fcd50f28fde4568ec4d97386c772814acba /actions
parentbf0be3ddb7226f428a3cc00a87c5a64f2113c00b (diff)
correct name for common_good_rand()
darcs-hash:20080620052453-5ed1f-4ce9b677b9010b3879bbae1ba9218036f0ad728f.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index d9315b424..ed3b33969 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -116,7 +116,7 @@ class RegisterAction extends Action {
if ($email) {
$confirm = new Confirm_email();
- $confirm->code = common_good_random(16);
+ $confirm->code = common_good_rand(16);
$confirm->user_id = $user->id;
$confirm->email = $email;