mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
HTML validity
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@890 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -300,7 +300,7 @@ function input($field, $value, $function) {
|
||||
echo (count($functions) > 1 ? '<select name="function[' . $name . ']">' . optionlist($functions, $function) . '</select>' : " ") . '<td>';
|
||||
$options = adminer_edit_input($_GET["edit"], $field); // usage in call is without a table
|
||||
if (is_array($options)) {
|
||||
echo '<select name="fields[' . $name . ']"' . $onchange . '>' . optionlist($options, $value, true) . '</select>';
|
||||
echo '<select name="fields[' . $name . ']"' . $onchange . '>' . optionlist(($options ? $options : array("" => "")), $value, true) . '</select>';
|
||||
} elseif ($field["type"] == "set") { //! 64 bits
|
||||
preg_match_all("~'((?:[^']+|'')*)'~", $field["length"], $matches);
|
||||
foreach ($matches[1] as $i => $val) {
|
||||
|
Reference in New Issue
Block a user