Permalink
Browse files

Don't use <code> for NULL

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1231 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent c6addd7 commit bb46cc9b6240d98dd493269a2df4d9b425f77bd2 jakubvrana committed Nov 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/include/adminer.inc.php
@@ -135,7 +135,7 @@ function rowDescriptions($rows, $foreignKeys) {
* @return string
*/
function selectVal($val, $link, $field) {
- $return = ($field["type"] == "char" ? "<code>$val</code>" : $val);
+ $return = ($val != "<i>NULL</i>" && $field["type"] == "char" ? "<code>$val</code>" : $val);
if (ereg('blob|binary', $field["type"]) && !is_utf8($val)) {
$return = lang('%d byte(s)', strlen($val));
}

0 comments on commit bb46cc9

Please sign in to comment.