summaryrefslogtreecommitdiff
path: root/plugins/new_user_dialog
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-09 06:28:44 +0000
committeralecpl <alec@alec.pl>2009-09-09 06:28:44 +0000
commitb590cb5fe3562001ba14845c08b447edb1e93fc2 (patch)
tree7f5b8a97d59570ecd6cc8cc90aec64497be74ac9 /plugins/new_user_dialog
parentd168b9909acc66510bd24b3e74f6828f47939f75 (diff)
- fix if check
Diffstat (limited to 'plugins/new_user_dialog')
-rw-r--r--plugins/new_user_dialog/new_user_dialog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php
index 4f6250f08..965a405b7 100644
--- a/plugins/new_user_dialog/new_user_dialog.php
+++ b/plugins/new_user_dialog/new_user_dialog.php
@@ -96,7 +96,7 @@ class new_user_dialog extends rcube_plugin
$save_data['email'] = $identity['email'];
// 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);
rcube_sess_unset('plugin.newuserdialog');
}