Character set of file message appeared twice

This commit is contained in:
Marc Delisle
2006-07-22 21:13:24 +00:00
parent aa73d33cf6
commit 0123c35841

View File

@@ -86,8 +86,7 @@ echo '<div class="formelementrow">' . "\n";
if ($cfg['AllowAnywhereRecoding'] && $allow_recoding) {
echo '<label for="charset_of_file">' . $strCharsetOfFile . '</label>' . "\n";
$temp_charset = reset($cfg['AvailableCharsets']);
echo $strCharsetOfFile . "\n"
. ' <select id="charset_of_file" name="charset_of_file" size="1">' . "\n"
echo ' <select id="charset_of_file" name="charset_of_file" size="1">' . "\n"
. ' <option value="' . htmlentities( $temp_charset ) . '"';
if ($temp_charset == $charset) {
echo ' selected="selected"';