From 1950efda80012ebeded8e7da71c7293b7ee86c08 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 16:21:32 -0400 Subject: save profile url darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz --- actions/register.php | 1 + 1 file changed, 1 insertion(+) (limited to 'actions/register.php') 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) { -- cgit v1.2.3-54-g00ecf