2009-08-11 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_html.php: fixes hidden bug in attribute array list,
	for input text.

	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-08-13 12:11:21 +00:00
parent 93bdc0737d
commit 4aab43e944
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: fixes hidden bug in attribute array list,
for input text.
2009-08-12 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish

View File

@ -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.'" ';