summaryrefslogtreecommitdiff
path: root/program/include/rcube_user.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-01 19:04:26 +0000
committerthomascube <thomas@roundcube.net>2009-05-01 19:04:26 +0000
commit69f18a09aec6e352ff021cd9c5db806f341b7e48 (patch)
treeff869e93ea898103cb7e63b749b01c689355201a /program/include/rcube_user.php
parent762a699dc7a5d0e3971a4679f714b7fa8d8832cf (diff)
Add plugin hooks for creating/saving/deleting identities and contacts
Diffstat (limited to 'program/include/rcube_user.php')
-rw-r--r--program/include/rcube_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index 9d4d67589..9d5cc5fc0 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -368,7 +368,7 @@ class rcube_user
VALUES (".$dbh->now().", ".$dbh->now().", ?, ?, ?, ?)",
strip_newlines($user),
strip_newlines($host),
- strip_newlines($user_email),
+ strip_newlines($data['alias'] ? $data['alias'] : $user_email),
$_SESSION['language']);
if ($user_id = $dbh->insert_id(get_sequence_name('users')))