From 1c1e1e39f34ae78f09dfdf77e0dcca82c635dc4c Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 13 Oct 2010 19:24:27 +0000 Subject: [PATCH] - Fix duplicated e-mail field in identity form (#1487054) --- CHANGELOG | 1 + program/steps/settings/edit_identity.inc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 32631c4e9..0a17e1a74 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -28,6 +28,7 @@ CHANGELOG Roundcube Webmail - Add caching support in id2uid and uid2id functions (#1487019) - Add SASL proxy authentication for SMTP (#1486693) - Improve displaying of UI messages (#1486977) +- Fix double e-mail filed in identity form (#1487054) RELEASE 0.4.2 ------------- diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc index d6af6e52c..89f4dde65 100644 --- a/program/steps/settings/edit_identity.inc +++ b/program/steps/settings/edit_identity.inc @@ -90,8 +90,8 @@ function rcube_identity_form($attrib) // disable some field according to access level if (IDENTITIES_LEVEL == 1 || IDENTITIES_LEVEL == 3) { - $form['adressing']['content']['email']['disabled'] = true; - $form['adressing']['content']['email']['class'] = 'disabled'; + $form['addressing']['content']['email']['disabled'] = true; + $form['addressing']['content']['email']['class'] = 'disabled'; } $IDENTITY_RECORD['email'] = idn_to_utf8($IDENTITY_RECORD['email']);