1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Use nbsp for empty cells

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@882 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-23 12:50:46 +00:00
parent 492123506b
commit f13efa8684

View File

@@ -103,7 +103,7 @@ function adminer_row_descriptions($rows, $foreign_keys) {
function adminer_select_val($val, $link) {
return call_adminer('select_val', ($link ?
"<a href=\"$link\">$val</a>" :
($val == "<i>NULL</i>" ? "" : preg_replace('~^<code>(.*)</code>$~', '\\1', $val))
($val == "<i>NULL</i>" ? "&nbsp;" : preg_replace('~^<code>(.*)</code>$~', '\\1', $val))
), $val, $link);
}