diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php
index 0f810403..d3c9978e 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -138,20 +138,21 @@ function textarea($name, $value, $rows = 10, $cols = 80) {
*/
function edit_type($key, $field, $collations, $foreign_keys = array()) {
global $structured_types, $types, $unsigned, $on_actions;
+ $type = $field["type"];
?>
- | " size="3" onfocus="editingLengthFocus(this);" onchange="editingLengthChange(this);" onkeyup="this.onchange();"> | |