From 5a6e5b4443d55dd34896d4b5dc2f5dcb87a5ced2 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 6 Feb 2021 10:32:36 +0100 Subject: [PATCH] Do not display SQL function for checkbox --- adminer/include/adminer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index d8044e5f..500e4eaa 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -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"; } }