mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSattribute::getValue() : Change update detection method
This commit is contained in:
parent
418d7f899e
commit
dde0182b16
1 changed files with 4 additions and 5 deletions
|
@ -140,12 +140,11 @@ class LSattribute {
|
||||||
* @retval mixed La valeur de l'attribut
|
* @retval mixed La valeur de l'attribut
|
||||||
*/
|
*/
|
||||||
function getValue() {
|
function getValue() {
|
||||||
$updateData=$this -> getUpdateData();
|
if ($this -> isUpdate()) {
|
||||||
if (empty($updateData)) {
|
return $this -> getUpdateData();
|
||||||
return $this -> data;
|
{
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
return $updateData;
|
return $this -> getOldValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue