|
|
@ -96,7 +96,7 @@ class new_user_dialog extends rcube_plugin
|
|
|
|
$save_data['email'] = $identity['email'];
|
|
|
|
$save_data['email'] = $identity['email'];
|
|
|
|
|
|
|
|
|
|
|
|
// save data if not empty
|
|
|
|
// save data if not empty
|
|
|
|
if (!empty($save_data['name']) && !empty($save_data['name'])) {
|
|
|
|
if (!empty($save_data['name']) && !empty($save_data['email'])) {
|
|
|
|
$rcmail->user->update_identity($identity['identity_id'], $save_data);
|
|
|
|
$rcmail->user->update_identity($identity['identity_id'], $save_data);
|
|
|
|
rcube_sess_unset('plugin.newuserdialog');
|
|
|
|
rcube_sess_unset('plugin.newuserdialog');
|
|
|
|
}
|
|
|
|
}
|
|
|
|