From 8cc2b48a3d422b1f9a4eb31fe2236aee0111c889 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 3 Jul 2007 07:43:27 +0000 Subject: [PATCH] White space git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@20 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- select.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select.inc.php b/select.inc.php index 2066aba2..0c6879a6 100644 --- a/select.inc.php +++ b/select.inc.php @@ -74,7 +74,7 @@ if (!mysql_num_rows($result)) { if (!isset($val)) { $val = "NULL"; } else { - $val = htmlspecialchars($val); + $val = (strlen(trim($val)) ? htmlspecialchars($val) : " "); foreach ((array) $foreign_keys[$key] as $foreign_key) { if (count($foreign_keys[$key]) == 1 || count($foreign_key[2]) == 1) { $val = '">' . "$val";