From c16ac8b3c7e47f0a81462d6cc61ea13509f791e0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 6 Jan 2006 18:20:04 +0000 Subject: [PATCH] bug #1389165, shows all columns as Null Yes --- tbl_printview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_printview.php b/tbl_printview.php index f7f20ad88..8e3f1b984 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -198,7 +198,7 @@ foreach ($the_tables AS $key => $table) { $strAttribute = 'UNSIGNED ZEROFILL'; } if (!isset($row['Default'])) { - if ($row['Null'] != '') { + if ($row['Null'] != '' && $row['Null'] != 'NO') { $row['Default'] = 'NULL'; } } else {