mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Fix edit_type after 1f21cd43
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user