mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 20:31:19 +02:00
Don't use <code> for NULL
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1231 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -135,7 +135,7 @@ class Adminer {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function selectVal($val, $link, $field) {
|
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)) {
|
if (ereg('blob|binary', $field["type"]) && !is_utf8($val)) {
|
||||||
$return = lang('%d byte(s)', strlen($val));
|
$return = lang('%d byte(s)', strlen($val));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user