summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_identity.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-15 10:22:29 +0000
committerthomascube <thomas@roundcube.net>2009-05-15 10:22:29 +0000
commit51ede06434097ef8d0697ee204fa998d6445d194 (patch)
tree76d6362bca66010776af8e8fbb971ba848cc3215 /program/steps/settings/save_identity.inc
parent9bee4437b889f4e36e37116ebf1fc24765eecad6 (diff)
Apply changes from r2348 to r2400 for 0.2.2 release
Diffstat (limited to 'program/steps/settings/save_identity.inc')
-rw-r--r--program/steps/settings/save_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc
index b34575dce..dba385f49 100644
--- a/program/steps/settings/save_identity.inc
+++ b/program/steps/settings/save_identity.inc
@@ -86,7 +86,7 @@ if ($_POST['_iid'])
else if (IDENTITIES_LEVEL < 2)
{
if (IDENTITIES_LEVEL == 1)
- $save_data['email'] = rcmail_get_email();
+ $save_data['email'] = $RCMAIL->user->get_username();
if ($save_data['email'] && ($insert_id = $USER->insert_identity($save_data)))
{