diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-01 16:07:26 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-01 16:07:26 +0000 |
| commit | 07da1605256dd0947326d0eb97786096f17d489f (patch) | |
| tree | c4d24cbc75e5eb13c6cd6acf9954ed9be9dadeea /roundcubemail/program/include | |
| parent | d077742b2fcdea30e1328e13f2dffb171b639d6c (diff) | |
Also save signature field when creating a new identity at login
git-svn-id: https://svn.roundcube.net/trunk@2692 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_user.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcube_user.php b/roundcubemail/program/include/rcube_user.php index 737937c30..8c77a0306 100644 --- a/roundcubemail/program/include/rcube_user.php +++ b/roundcubemail/program/include/rcube_user.php @@ -421,18 +421,20 @@ class rcube_user 'name' => strip_newlines($name), 'email' => $email, 'standard' => $standard, + 'signature' => '', ), )); if (!$plugin['abort'] && $plugin['record']['email']) { $dbh->query( "INSERT INTO ".get_table_name('identities')." - (user_id, del, standard, name, email) - VALUES (?, 0, ?, ?, ?)", + (user_id, del, standard, name, email, signature) + VALUES (?, 0, ?, ?, ?, ?)", $user_id, $plugin['record']['standard'], $plugin['record']['name'] != NULL ? $plugin['record']['name'] : '', - $plugin['record']['email']); + $plugin['record']['email'], + $plugin['record']['signature']); } $standard = 0; } |
