[interface] #2879909 Removed double htmlspecialchars when editing enum column

This commit is contained in:
Herman van Rink
2009-10-15 15:49:09 +00:00
parent 478f7eb529
commit 593c28aabd
2 changed files with 2 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [lang] Turkish update, thanks to Burak Yavuz
+ [auth] Add custom port configuration in signon, thanks to Gary Smith
- [core] Removed context from the error handler
- [interface] #2879909 Removed double htmlspecialchars when editing enum column
3.2.3.0 (not yet released)
- patch #2856664 [export] Date, time, and datetime column types now export correctly to

View File

@@ -349,13 +349,12 @@ for ($i = 0; $i < $num_fields; $i++) {
$binary = 0;
$unsigned = 0;
$zerofill = 0;
$length_to_display = htmlspecialchars($length);
} else {
$length_to_display = $length;
$binary = false;
$unsigned = stristr($row['Type'], 'unsigned');
$zerofill = stristr($row['Type'], 'zerofill');
}
$length_to_display = $length;
$content_cells[$i][$ci] = '<input id="field_' . $i . '_' . ($ci - $ci_offset) . '"'
. ' type="text" name="field_length[' . $i . ']" size="' . $length_values_input_size . '"'