mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-25 03:19:08 +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;
|
||||
}
|
||||
|
||||
if ($data !== false) {
|
||||
$data = $this -> ldap -> getDisplayValue($data);
|
||||
}
|
||||
elseif ($this -> isUpdate()) {
|
||||
$data = $this -> ldap -> getDisplayValue($this -> updateData);
|
||||
}
|
||||
else {
|
||||
$data = $this -> ldap -> getDisplayValue($this -> data);
|
||||
}
|
||||
$data = $this -> ldap -> getDisplayValue(
|
||||
$data !== false ? $data : $this -> getValue()
|
||||
);
|
||||
|
||||
$onDisplay = $this -> getConfig('onDisplay');
|
||||
if ($onDisplay) {
|
||||
|
|
Loading…
Reference in a new issue