]> git.joonet.de Git - adminer.git/commitdiff
Do not display SQL function for checkbox
authorJakub Vrana <jakub@vrana.cz>
Sat, 6 Feb 2021 09:32:36 +0000 (10:32 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 6 Feb 2021 09:45:56 +0000 (10:45 +0100)
adminer/include/adminer.inc.php

index d8044e5f1aad215a0dc749546b55a3eb61136b29..500e4eaab4f4f1ed417008b99c8dd0580e4ac343 100644 (file)
@@ -672,7 +672,7 @@ class Adminer {
                                                $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";
                                }
                        }