From 32d3964bbc363f4bdef49267e272272f74e193a4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 9 May 2004 12:05:32 +0000 Subject: [PATCH] fixed 948616 --- lam-0.4/lib/account.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam-0.4/lib/account.inc b/lam-0.4/lib/account.inc index 62fff17f..440e9b59 100644 --- a/lam-0.4/lib/account.inc +++ b/lam-0.4/lib/account.inc @@ -1836,7 +1836,7 @@ function modifyuser($values,$values_old,$uselamdaemon=true) { // Will modify the if (($values->personal_facsimileTelephoneNumber != $values_old->personal_facsimileTelephoneNumber) && ($values->personal_facsimileTelephoneNumber!='')) $attr['facsimileTelephoneNumber'] = utf8_encode($values->personal_facsimileTelephoneNumber); if (($values->personal_facsimileTelephoneNumber != $values_old->personal_facsimileTelephoneNumber) && ($values->personal_facsimileTelephoneNumber=='')) - $attr_rem['facsimileTelephoneNumber'] = utf8_encode($values_old->personal_facsimileTelephoneNumber); + $attr_rem['facsimileTelephoneNumber'] = array(); if (($values->personal_street != $values_old->personal_street) && ($values->personal_street!='')) $attr['street'] = utf8_encode($values->personal_street); if (($values->personal_street != $values_old->personal_street) && ($values->personal_street=='')) @@ -1848,7 +1848,7 @@ function modifyuser($values,$values_old,$uselamdaemon=true) { // Will modify the if (($values->personal_postalAddress != $values_old->personal_postalAddress) && ($values->personal_postalAddress!='')) $attr['postalAddress'] = utf8_encode($values->personal_postalAddress); if (($values->personal_postalAddress != $values_old->personal_postalAddress) && ($values->personal_postalAddress=='')) - $attr_rem['postalAddress'] = utf8_encode($values_old->personal_postalAddress); + $attr_rem['postalAddress'] = array(); if (($values->personal_employeeType != $values_old->personal_employeeType) && ($values->personal_employeeType!='')) $attr['employeeType'] = utf8_encode($values->personal_employeeType); if (($values->personal_employeeType != $values_old->personal_employeeType) && ($values->personal_employeeType==''))