mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Report correct length of blob (bug #3070569)
This commit is contained in:
@@ -152,7 +152,7 @@ document.getElementById('username').focus();
|
||||
function selectVal($val, $link, $field) {
|
||||
$return = ($val != "<i>NULL</i>" && $field["type"] == "char" ? "<code>$val</code>" : $val);
|
||||
if (ereg('binary|blob|bytea|raw|file', $field["type"]) && !is_utf8($val)) {
|
||||
$return = lang('%d byte(s)', strlen($val));
|
||||
$return = lang('%d byte(s)', strlen(html_entity_decode($val, ENT_QUOTES)));
|
||||
}
|
||||
return ($link ? "<a href='$link'>$return</a>" : $return);
|
||||
}
|
||||
|
Reference in New Issue
Block a user