From ff0dc92f1810612680db88aa2156a3b5922e2958 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Wed, 20 Oct 2010 18:07:45 +0200 Subject: [PATCH] Fix #11351: Do not delete email or realname when editing user with LDAP When connecting to Mantis with LDAP and either use_ldap_email or use_ldap_realname = ON, that field is set to blank when the user edits their profile (account_page.php). The same happens when either or both of the above options are ON and the administrator updates a user from manage_user_edit_page.php. --- account_page.php | 53 +++++++++++++++++++++++--------------------- manage_user_edit_page.php | 26 ++++++++++++++++------ 2 files changed, 47 insertions(+), 32 deletions(-) diff --git a/account_page.php b/account_page.php index 2c9790e..bc9058b 100644 --- a/account_page.php +++ b/account_page.php @@ -176,20 +176,6 @@ - - - > - - - - - - - - - - > @@ -197,13 +183,22 @@ if ( $t_ldap && ON == config_get( 'use_ldap_email' ) ) { ?> valign="top"> @@ -211,14 +206,22 @@ if ( $t_ldap && ON == config_get( 'use_ldap_email' ) ) { ?>