summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-01 16:07:26 +0000
committerthomascube <thomas@roundcube.net>2009-07-01 16:07:26 +0000
commit73967c716980699b31b07032e553132986df0134 (patch)
tree2c0acd43059686d28c8e6c03c36d06c012e226dd /program/include
parent08c8c3dbb96f203f72ff7222d14833b48eb63086 (diff)
Also save signature field when creating a new identity at login
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_user.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index 737937c30..8c77a0306 100644
--- a/program/include/rcube_user.php
+++ b/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;
}