Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reformat

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@163 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit e9ee9b81b6d304e10c3892d9ff494dd47c3ee63e 1 parent 27d16bc
jakubvrana authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 functions.inc.php
View
6 functions.inc.php
@@ -255,7 +255,11 @@ function select($result) {
if (!isset($val)) {
$val = "<i>NULL</i>";
} else {
- $val = ($blobs[$key] && preg_match('~[\\x80-\\xFF]~', $val) ? "<i>" . lang('%d byte(s)', strlen($val)) . "</i>" : (strlen(trim($val)) ? nl2br(htmlspecialchars($val)) : "&nbsp;"));
+ if ($blobs[$key] && preg_match('~[\\x80-\\xFF]~', $val)) {
+ $val = "<i>" . lang('%d byte(s)', strlen($val)) . "</i>";
+ } else {
+ $val = (strlen(trim($val)) ? nl2br(htmlspecialchars($val)) : "&nbsp;");
+ }
if (isset($links[$key]) && !$columns[$links[$key]]) {
$link = "edit=" . urlencode($links[$key]);
foreach ($indexes[$links[$key]] as $col => $j) {
Please sign in to comment.
Something went wrong with that request. Please try again.