summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-13 19:24:27 +0000
committeralecpl <alec@alec.pl>2010-10-13 19:24:27 +0000
commit1c1e1e39f34ae78f09dfdf77e0dcca82c635dc4c (patch)
treebc2e74c10d7b01c8d2e8c77d595b4f68e328a96e
parentf6aac389bfc29e0f6d1f2d43aa900a2ba017bc2f (diff)
- Fix duplicated e-mail field in identity form (#1487054)
-rw-r--r--CHANGELOG1
-rw-r--r--program/steps/settings/edit_identity.inc4
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']);