summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_identity.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-10 08:16:41 +0000
committeralecpl <alec@alec.pl>2009-04-10 08:16:41 +0000
commit82c45a19529e818dc6b290491e79e7e2feeedcf6 (patch)
treebb190ca8d45bc9621f64e791e3c7b7ec0d1433ae /program/steps/settings/save_identity.inc
parent432a614ab6e01ea5bd8876a267de67a9ee3fd544 (diff)
- clean up, use simpler _get_email() replacement
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)))
{