Skip to content
Browse files

Use field_name

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@786 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent ed22950 commit ef580994be5acb2ff277f37aafbd733e96087360 jakubvrana committed Jul 3, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/edit.inc.php
View
2 adminer/edit.inc.php
@@ -66,7 +66,7 @@
unset($create);
echo "<table cellspacing='0'>\n";
foreach ($fields as $name => $field) {
- echo "<tr><th>" . htmlspecialchars($name) . "</th>";
+ echo "<tr><th>" . $adminer->field_name($fields, $name) . "</th>";
$value = (isset($row)
? (strlen($row[$name]) && ($field["type"] == "enum" || $field["type"] == "set") ? intval($row[$name]) : $row[$name])
: ($_POST["clone"] && $field["auto_increment"] ? "" : ($where ? $field["default"] : false))

0 comments on commit ef58099

Please sign in to comment.
Something went wrong with that request. Please try again.