mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
LSldapObject : change getDisplayName $spe parameter default value from empty string to null
This commit is contained in:
parent
c4687bdfdb
commit
69b7ce3f4f
1 changed files with 3 additions and 4 deletions
|
@ -144,11 +144,10 @@ class LSldapObject {
|
|||
*
|
||||
* @retval string Valeur descriptive d'affichage de l'objet
|
||||
*/
|
||||
public function getDisplayName($spe='',$full=false) {
|
||||
if ($spe=='') {
|
||||
public function getDisplayName($spe=null, $full=false) {
|
||||
if (is_null($spe))
|
||||
$spe = $this -> getDisplayNameFormat();
|
||||
}
|
||||
$val = $this -> getFData($spe,$this -> attrs,'getDisplayValue');
|
||||
$val = $this -> getFData($spe, $this -> attrs, 'getDisplayValue');
|
||||
if (LSsession :: haveSubDn() && $full) {
|
||||
$val.=' ('.$this -> subDnName.')';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue