1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

Do not display SQL function for checkbox

This commit is contained in:
Jakub Vrana
2021-02-06 10:32:36 +01:00
parent 7b524ff5d2
commit 5a6e5b4443

View File

@@ -672,7 +672,7 @@ class Adminer {
$return .= "/$val"; $return .= "/$val";
} }
} }
if ($key && !preg_match('~set|blob|bytea|raw|file~', $field["type"])) { if ($key && !preg_match('~set|blob|bytea|raw|file|bool~', $field["type"])) {
$return .= "/SQL"; $return .= "/SQL";
} }
} }