diff --git a/editing.inc.php b/editing.inc.php index cd64dc9a..0dce0d20 100644 --- a/editing.inc.php +++ b/editing.inc.php @@ -11,12 +11,12 @@ function input($name, $field, $value) { foreach ($matches[1] as $i => $val) { $val = stripcslashes(str_replace("''", "'", $val)); $id = "field-$name-" . ($i+1); - $checked = (is_int($value) ? $value == $i+1 : $value === $val); //! '' collide with NULL in $_GET["default"] - echo ' '; + $checked = (is_int($value) ? $value == $i+1 : $value === $val); + echo ' '; } if ($field["null"]) { $id = "field-$name-"; - echo ' '; + echo ' '; } } elseif ($field["type"] == "set") { //! 64 bits preg_match_all("~'((?:[^']+|'')*)'~", $field["length"], $matches);