LSattribute :: getDisplayValue() : Fixed notice PHP
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:44:38 +0000 (19:44 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:44:38 +0000 (19:44 +0100)
public_html/includes/class/class.LSattribute.php

index e6fd4a1..4d21d81 100644 (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) {