Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2006-01-06 21:05:53 +0300
committerMarc Delisle <marc@infomarc.info>2006-01-06 21:05:53 +0300
commit97bd2323d58e6ca1942a87f7398f70d25c2f18f7 (patch)
tree61d4a400ea34e5eda1a20ffd536a65efcca66022 /pdf_schema.php
parent036f71d51b7c2bf2c2a431bbdc7575e7bc73bccc (diff)
bug #1389165, shows all columns as Null Yes
Diffstat (limited to 'pdf_schema.php')
-rw-r--r--pdf_schema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf_schema.php b/pdf_schema.php
index 6064a30251..bbfa4a6248 100644
--- a/pdf_schema.php
+++ b/pdf_schema.php
@@ -1479,7 +1479,7 @@ function PMA_RT_DOC($alltables ){
$pdf_row = array($field_name ,
$type ,
$strAttribute ,
- ($row['Null'] == '') ? $GLOBALS['strNo'] : $GLOBALS['strYes'],
+ ($row['Null'] == '' || $row['Null'] == 'NO') ? $GLOBALS['strNo'] : $GLOBALS['strYes'],
((isset($row['Default'])) ? $row['Default'] : ''),
$row['Extra'] ,
((isset($res_rel[$field_name])) ? $res_rel[$field_name]['foreign_table'] . ' -> ' . $res_rel[$field_name]['foreign_field'] : ''),