mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-21 07:53:50 +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));
|
LSerror :: addErrorCode('LSattribute_09',array('type' => 'ldap','name' => $this -> name));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this -> isUpdate()) {
|
||||||
|
$data = $this -> ldap -> getDisplayValue($this -> updateData);
|
||||||
|
}
|
||||||
|
else {
|
||||||
$data = $this -> ldap -> getDisplayValue($this -> data);
|
$data = $this -> ldap -> getDisplayValue($this -> data);
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($this -> config['onDisplay'])) {
|
if (isset($this -> config['onDisplay'])) {
|
||||||
if (is_array($this -> config['onDisplay'])) {
|
if (is_array($this -> config['onDisplay'])) {
|
||||||
$result=$data;
|
$result=$data;
|
||||||
|
|
Loading…
Reference in a new issue