bug #1389165, shows all columns as Null Yes

This commit is contained in:
Marc Delisle
2006-01-06 18:05:53 +00:00
parent 036f71d51b
commit 97bd2323d5
3 changed files with 4 additions and 3 deletions

View File

@@ -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'] : ''),