mirror of
https://github.com/vrana/adminer.git
synced 2026-07-07 09:23:22 +02:00
Separate function and value
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@632 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -52,7 +52,7 @@ if ($in) {
|
||||
echo "<table cellspacing='0'>\n";
|
||||
foreach ($in as $key) {
|
||||
$field = $routine["fields"][$key];
|
||||
echo "<tr><th>" . htmlspecialchars($field["field"]) . "</th><td>";
|
||||
echo "<tr><th>" . htmlspecialchars($field["field"]) . "</th>";
|
||||
$value = $_POST["fields"][$key];
|
||||
if (strlen($value) && ($field["type"] == "enum" || $field["type"] == "set")) {
|
||||
$value = intval($value);
|
||||
|
||||
Reference in New Issue
Block a user