Skip to content
Browse files

Superfluous default values

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@433 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent 5a9847c commit ce75d75b8014bec285844be25fba565f99a866cf jakubvrana committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 select.inc.php
View
6 select.inc.php
@@ -144,8 +144,8 @@ function add_row(field) {
}
</script>
<?php
- echo "<div><select name='where[$i][col]' onchange='add_row(this);'><option></option>" . optionlist($columns, array()) . "</select>";
- echo "<select name='where[$i][op]' onchange=\"where_change(this);\">" . optionlist($operators, array()) . "</select>";
+ echo "<div><select name='where[$i][col]' onchange='add_row(this);'><option></option>" . optionlist($columns) . "</select>";
+ echo "<select name='where[$i][op]' onchange=\"where_change(this);\">" . optionlist($operators) . "</select>";
echo "<input name='where[$i][val]' /></div>\n";
echo "</fieldset>\n";
@@ -158,7 +158,7 @@ function add_row(field) {
$i++;
}
}
- echo "<div><select name='order[$i]' onchange='add_row(this);'><option></option>" . optionlist($columns, array()) . "</select>";
+ echo "<div><select name='order[$i]' onchange='add_row(this);'><option></option>" . optionlist($columns) . "</select>";
echo "<label><input type='checkbox' name='desc[$i]' value='1' />" . lang('DESC') . "</label></div>\n";
echo "</fieldset>\n";

0 comments on commit ce75d75

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