diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php index 41c118352..421861ca6 100755 --- a/include/lib/html_input.class.php +++ b/include/lib/html_input.class.php @@ -983,10 +983,11 @@ class HtmlInput static function filter_list($p_list_id) { $r=""; + $r.=''; $r.=sprintf('', $p_list_id,$p_list_id,$p_list_id); - $r.=sprintf('',$p_list_id,$p_list_id); + $r.=sprintf('',$p_list_id,$p_list_id,$p_list_id); $r.=''; return $r; } diff --git a/include/lib/select_box.class.php b/include/lib/select_box.class.php index c2eb361c3..82c5547c4 100644 --- a/include/lib/select_box.class.php +++ b/include/lib/select_box.class.php @@ -93,8 +93,8 @@ class Select_Box // Show the filter if there is one, if ( $this->filter != "" ) { - echo $this->filter; - echo HtmlInput::filter_list($list_id); + + echo HtmlInput::filter_list($list_id); } // Print the list of possible options