LSattribute :: getDisplayValue() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:44:38 +01:00
parent 274ad11e6d
commit 6b065f2a61

View file

@ -172,7 +172,7 @@ class LSattribute {
return;
}
$data = $this -> ldap -> getDisplayValue($this -> data);
if ($this -> config['onDisplay']) {
if (isset($this -> config['onDisplay'])) {
if (is_array($this -> config['onDisplay'])) {
$result=$data;
foreach($this -> config['onDisplay'] as $func) {