Don't forget to drop old fields after post
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@61 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
f32b615eba
commit
d41096b102
|
@ -78,7 +78,7 @@ $collations = collations();
|
|||
<?php
|
||||
$i=1;
|
||||
foreach ($row["fields"] as $field) {
|
||||
if (strlen($field["field"])) {
|
||||
if (strlen($field["field"]) || strlen($field["orig"])) {
|
||||
?>
|
||||
<tr>
|
||||
<th><input type="hidden" name="fields[<?php echo $i; ?>][orig]" value="<?php echo htmlspecialchars($field[($_POST ? "orig" : "field")]); ?>" /><input name="fields[<?php echo $i; ?>][field]" value="<?php echo htmlspecialchars($field["field"]); ?>" maxlength="64" /></th>
|
||||
|
|
Loading…
Reference in a new issue