mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 08:39:06 +01:00
LSattribute :: getDisplayValue() : use updateDate if is updated
This commit is contained in:
parent
296e646967
commit
f418a5d7cf
1 changed files with 8 additions and 1 deletions
|
@ -171,7 +171,14 @@ class LSattribute {
|
|||
LSerror :: addErrorCode('LSattribute_09',array('type' => 'ldap','name' => $this -> name));
|
||||
return;
|
||||
}
|
||||
$data = $this -> ldap -> getDisplayValue($this -> data);
|
||||
|
||||
if ($this -> isUpdate()) {
|
||||
$data = $this -> ldap -> getDisplayValue($this -> updateData);
|
||||
}
|
||||
else {
|
||||
$data = $this -> ldap -> getDisplayValue($this -> data);
|
||||
}
|
||||
|
||||
if (isset($this -> config['onDisplay'])) {
|
||||
if (is_array($this -> config['onDisplay'])) {
|
||||
$result=$data;
|
||||
|
|
Loading…
Reference in a new issue