summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/register.php b/actions/register.php
index 5c30fa1b3..fcf371d3a 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -81,6 +81,7 @@ class RegisterAction extends Action {
# TODO: wrap this in a transaction!
$profile = new Profile();
$profile->nickname = $nickname;
+ $profile->profileurl = common_profile_url($nickname);
$profile->created = DB_DataObject_Cast::dateTime(); # current time
$id = $profile->insert();
if (!$id) {