diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 399023fb34..b91877634f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-08-11 Miguel de Dios + + * include/functions_html.php: fixes hidden bug in attribute array list, + for input text. + 2009-08-12 Jorge Gonzalez * include/languages/es.po, include/languages/es.mo: Updated Spanish diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 42a7c8b5b0..31fae38484 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -273,7 +273,7 @@ function print_input_text_extended ($name, $value, $id, $alt, $size, $maxlength, if (is_array ($attributes)) { foreach ($attributes as $attribute => $attr_value) { - if (! in_array ($valid_attrs)) { + if (! in_array ($attribute,$valid_attrs)) { continue; } $output .= $attribute.'="'.$attr_value.'" ';