LSattr_html_select_list :: getPossibleValues() : Fixed notice PHPx
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:42:28 +0000 (19:42 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:42:28 +0000 (19:42 +0100)
public_html/includes/class/class.LSattr_html_select_list.php

index 6c00a37..5aacc83 100644 (file)
@@ -99,10 +99,10 @@ class LSattr_html_select_list extends LSattr_html{
           }
           
           $param=array(
           }
           
           $param=array(
-            'filter' => $val['filter'],
-            'basedn' => $val['basedn'],
-            'scope' => $val['scope'],
-            'displayFormat' => $val['display_name_format'],
+            'filter' => (isset($val['filter'])?$val['filter']:null),
+            'basedn' => (isset($val['basedn'])?$val['basedn']:null),
+            'scope'  => (isset($val['scope'])?$val['scope']:null),
+            'displayFormat' => (isset($val['display_name_format'])?$val['display_name_format']:null),
           );
           
           
           );