diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php
index ca6b1ed1..88d61132 100644
--- a/editor/include/adminer.inc.php
+++ b/editor/include/adminer.inc.php
@@ -103,7 +103,7 @@ function adminer_row_descriptions($rows, $foreign_keys) {
function adminer_select_val($val, $link) {
return call_adminer('select_val', ($link ?
"$val" :
- ($val == "NULL" ? "" : preg_replace('~^(.*)
$~', '\\1', $val))
+ ($val == "NULL" ? " " : preg_replace('~^(.*)
$~', '\\1', $val))
), $val, $link);
}