mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
Fix LSattribute::getDisplayValue() when called on updated attribute
This commit is contained in:
parent
961740c855
commit
95f60a534a
1 changed files with 3 additions and 9 deletions
|
@ -256,15 +256,9 @@ class LSattribute extends LSlog_staticLoggerClass {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($data !== false) {
|
$data = $this -> ldap -> getDisplayValue(
|
||||||
$data = $this -> ldap -> getDisplayValue($data);
|
$data !== false ? $data : $this -> getValue()
|
||||||
}
|
);
|
||||||
elseif ($this -> isUpdate()) {
|
|
||||||
$data = $this -> ldap -> getDisplayValue($this -> updateData);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$data = $this -> ldap -> getDisplayValue($this -> data);
|
|
||||||
}
|
|
||||||
|
|
||||||
$onDisplay = $this -> getConfig('onDisplay');
|
$onDisplay = $this -> getConfig('onDisplay');
|
||||||
if ($onDisplay) {
|
if ($onDisplay) {
|
||||||
|
|
Loading…
Reference in a new issue