Skip to content

Commit edf2d0e

Browse files
committed
correct self-closing tag for input type="file"
1 parent b3ceb09 commit edf2d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

com_connect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ function com_connect_file($atts)
17161716

17171717
return ($label_position === 'before' ? $labelStr . $break : '') .
17181718
$maxhidden.
1719-
'<input' . $classStr . ($attr ? ' ' . implode(' ', $attr) : '') . ' />' .
1719+
'<input' . $classStr . ($attr ? ' ' . implode(' ', $attr) : '') . (($doctype === 'xhtml') ? ' />' : '>') .
17201720
($label_position === 'after' ? $break . $labelStr : '');
17211721
}
17221722

0 commit comments

Comments
 (0)