From: jakubvrana Date: Sat, 3 Oct 2009 20:48:44 +0000 (+0000) Subject: Set description to empty string for NULL value X-Git-Tag: v3.0.0~369 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=b7ac2c06e4491114de43c9abc60d5d9f4e322c5b;p=adminer.git Set description to empty string for NULL value git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1165 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 07a98ce7..250d914f 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -126,7 +126,9 @@ ORDER BY ORDINAL_POSITION"); } // use the descriptions foreach ($rows as $n => $row) { - $return[$n][$key] = $descriptions[$row[$key]]; + if (isset($row[$key])) { + $return[$n][$key] = (string) $descriptions[$row[$key]]; + } } break; }