]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/settings/edit_identity.inc
Imported Upstream version 0.2.2
[roundcube.git] / program / steps / settings / edit_identity.inc
index 3e96b2477996f759593a23c67e09fbe9e5a2f127..02802c742a9a7bed3c009a93d5eaeaa3ec00f753 100644 (file)
@@ -15,7 +15,7 @@
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
 
- $Id: edit_identity.inc 2040 2008-11-05 10:19:44Z alec $
+ $Id: edit_identity.inc 2483 2009-05-15 10:22:29Z thomasb $
 
 */
 
@@ -43,7 +43,7 @@ else {
     return;
   }
   else if (IDENTITIES_LEVEL == 1)
-    $IDENTITY_RECORD['email'] = rcmail_get_email();
+    $IDENTITY_RECORD['email'] = $RCMAIL->user->get_username();
 }