summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_identity.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-26 10:08:40 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-26 10:08:40 +0100
commit789e5988aaebb78d368b137b98169ec1e616159c (patch)
treeba855c4b2464b659703d5d08202f85c48ed1c180 /program/steps/settings/edit_identity.inc
parentc72fbf06d6b08addbcc5dc234392b591c4239632 (diff)
Clarify rcube::get_user_name() usage, add rcube::get_user_email()
Diffstat (limited to 'program/steps/settings/edit_identity.inc')
-rw-r--r--program/steps/settings/edit_identity.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc
index f82169017..39076f408 100644
--- a/program/steps/settings/edit_identity.inc
+++ b/program/steps/settings/edit_identity.inc
@@ -42,8 +42,9 @@ else {
rcmail_overwrite_action('identities');
return;
}
- else if (IDENTITIES_LEVEL == 1)
- $IDENTITY_RECORD['email'] = $RCMAIL->user->get_username();
+ else if (IDENTITIES_LEVEL == 1) {
+ $IDENTITY_RECORD['email'] = $RCMAIL->get_user_email();
+ }
}