From 2964fb573de6ead8a74a1a0defa0bfdd554ab50d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 16 Apr 2013 09:46:39 +0200 Subject: Fix handling of identities_level=4 --- plugins/new_user_dialog/new_user_dialog.php | 4 +--- plugins/new_user_dialog/package.xml | 25 ++++++++++++++++++++----- 2 files changed, 21 insertions(+), 8 deletions(-) (limited to 'plugins') diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php index 871384e47..8d641c946 100644 --- a/plugins/new_user_dialog/new_user_dialog.php +++ b/plugins/new_user_dialog/new_user_dialog.php @@ -126,7 +126,7 @@ class new_user_dialog extends rcube_plugin ); // don't let the user alter the e-mail address if disabled by config - if ($identities_level == 1 || $identities_level == 3) + if (in_array($identities_level, array(1,3,4))) $save_data['email'] = $identity['email']; else $save_data['email'] = rcube_utils::idn_to_ascii($save_data['email']); @@ -141,5 +141,3 @@ class new_user_dialog extends rcube_plugin } } - -?> diff --git a/plugins/new_user_dialog/package.xml b/plugins/new_user_dialog/package.xml index 0bca1d9d4..c9f1965de 100644 --- a/plugins/new_user_dialog/package.xml +++ b/plugins/new_user_dialog/package.xml @@ -13,10 +13,9 @@ roundcube@gmail.com yes - 2012-01-16 - + 2013-04-16 - 1.5 + 1.6 1.0 @@ -25,8 +24,7 @@ GNU GPLv3+ -- Use jquery UI to render the dialog -- Fixed IDNA encoding/decoding of e-mail addresses (#1487909) +- Fix handling of identities_level=4 @@ -150,5 +148,22 @@ GNU GPLv2 - Use jquery UI to render the dialog + + 2012-01-16 + + + 1.5 + 1.0 + + + stable + stable + + GNU GPLv3+ + +- Use jquery UI to render the dialog +- Fixed IDNA encoding/decoding of e-mail addresses (#1487909) + + -- cgit v1.2.3