From: nafex Date: Tue, 6 Oct 2015 13:08:02 +0000 (+0200) Subject: make bytea fields shortable X-Git-Tag: v4.3.0~49 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=47c582acb3b71ece16fd6f53f1d0496c7946617a;p=adminer.git make bytea fields shortable --- 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