diff --git a/functions.inc.php b/functions.inc.php
index 12fde6cb..8d7ad515 100644
--- a/functions.inc.php
+++ b/functions.inc.php
@@ -255,7 +255,11 @@ function select($result) {
if (!isset($val)) {
$val = "NULL";
} else {
- $val = ($blobs[$key] && preg_match('~[\\x80-\\xFF]~', $val) ? "" . lang('%d byte(s)', strlen($val)) . "" : (strlen(trim($val)) ? nl2br(htmlspecialchars($val)) : " "));
+ if ($blobs[$key] && preg_match('~[\\x80-\\xFF]~', $val)) {
+ $val = "" . lang('%d byte(s)', strlen($val)) . "";
+ } else {
+ $val = (strlen(trim($val)) ? nl2br(htmlspecialchars($val)) : " ");
+ }
if (isset($links[$key]) && !$columns[$links[$key]]) {
$link = "edit=" . urlencode($links[$key]);
foreach ($indexes[$links[$key]] as $col => $j) {