From 27cbdefa1bef9d49b52586913f33b3a11b0dbcc1 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 6 Jan 2006 18:08:58 +0000 Subject: [PATCH] bug #1389165, shows all columns as Null Yes --- pdf_schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf_schema.php b/pdf_schema.php index bbfa4a624..ea90ab5f0 100644 --- a/pdf_schema.php +++ b/pdf_schema.php @@ -1467,7 +1467,7 @@ function PMA_RT_DOC($alltables ){ $strAttribute = 'UNSIGNED ZEROFILL'; } if (!isset($row['Default'])) { - if ($row['Null'] != '') { + if ($row['Null'] != '' && $row['Null'] != 'NO') { $row['Default'] = 'NULL'; } }