From e040b296c5f554cb7583465a8abd1aab09cf7214 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 10 Mar 2017 08:19:58 +0100 Subject: [PATCH] Print number of bytes in blob in italics --- 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 e1159149..7bc51a4d 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -241,7 +241,7 @@ focus(document.getElementById('username')); function selectVal($val, $link, $field, $original) { $return = ($val === null ? "NULL" : (preg_match("~char|binary~", $field["type"]) && !preg_match("~var~", $field["type"]) ? "$val" : $val)); if (preg_match('~blob|bytea|raw|file~', $field["type"]) && !is_utf8($val)) { - $return = lang('%d byte(s)', strlen($original)); + $return = "" . lang('%d byte(s)', strlen($original)) . ""; } return ($link ? "$return" : $return); }