Permalink
Browse files

Comment

  • Loading branch information...
1 parent 56b0377 commit dfc03ca74ad27bf0c59f125fb7a89e6fc28b47e8 @vrana committed Jan 31, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 adminer/include/editing.inc.php
@@ -231,7 +231,8 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0, $forei
<?php } ?>
<td><?php echo "<input type='image' name='add[" . (support("move_col") ? 0 : count($fields)) . "]' src='../adminer/static/plus.gif' alt='+' title='" . lang('Add next') . "'>"; ?><script type="text/javascript">row_count = <?php echo count($fields); ?>;</script>
</thead>
-<tbody onkeydown="return editingKeydown(event);"><?php // no newline for JavaScript
+<tbody onkeydown="return editingKeydown(event);">
+<?php
foreach ($fields as $i => $field) {
$i++;
$orig = $field[($_POST ? "orig" : "field")];

0 comments on commit dfc03ca

Please sign in to comment.