Fix edit_type after 1f21cd43
This commit is contained in:
parent
78f0a1152e
commit
cc31a69b65
|
@ -143,7 +143,7 @@ function edit_type($key, $field, $collations, $foreign_keys = array(), $extra_ty
|
||||||
$type = $field["type"];
|
$type = $field["type"];
|
||||||
?>
|
?>
|
||||||
<td><select name="<?php echo h($key); ?>[type]" class="type" aria-labelledby="label-type"><?php
|
<td><select name="<?php echo h($key); ?>[type]" class="type" aria-labelledby="label-type"><?php
|
||||||
if ($type && !isset($types[$type], $foreign_keys[$type]) && !in_array($type, $extra_types)) {
|
if ($type && !isset($types[$type]) && !isset($foreign_keys[$type]) && !in_array($type, $extra_types)) {
|
||||||
$extra_types[] = $type;
|
$extra_types[] = $type;
|
||||||
}
|
}
|
||||||
if ($foreign_keys) {
|
if ($foreign_keys) {
|
||||||
|
|
Loading…
Reference in a new issue