From 1c1e1e39f34ae78f09dfdf77e0dcca82c635dc4c Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 13 Oct 2010 15:24:27 -0400
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 32631c4..0a17e1a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -28,6 +28,7 @@
- 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 d6af6e5..89f4dde 100644
--- a/program/steps/settings/edit_identity.inc
+++ b/program/steps/settings/edit_identity.inc
@@ -90,8 +90,8 @@
// 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']);
--
Gitblit v1.9.1