From 47c582acb3b71ece16fd6f53f1d0496c7946617a Mon Sep 17 00:00:00 2001 From: nafex Date: Tue, 6 Oct 2015 15:08:02 +0200 Subject: [PATCH] make bytea fields shortable --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 9756cd91..0496cf4d 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1187,7 +1187,7 @@ function is_url($string) { * @return bool */ function is_shortable($field) { - return preg_match('~char|text|lob|geometry|point|linestring|polygon|string~', $field["type"]); + return preg_match('~char|text|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]); } /** Get query to compute number of found rows