]> mj.ucw.cz Git - pciids.git/blobdiff - PciIds/Html/List.pm
Administration interface works
[pciids.git] / PciIds / Html / List.pm
index 911e9f80c6060e7b7ebab8b0d9b13e2ef518abed..73815c17e35f8e68d071d9328824f9818214b029 100644 (file)
@@ -34,7 +34,7 @@ sub list( $$$$ ) {
                print '<h2>'.encode( $id ).'</h2>';
                print htmlDiv( 'name', '<p>Name: '.encode( $name ) );
        }
-       print htmlDiv( 'note', '<p>Note: '.encode( $note ) ) if defined( $note );
+       print htmlDiv( 'note', '<p>Note: '.encode( $note ) ) if defined $note && $note ne '';
        my $diss = 0;
        my $history;
        foreach $history ( @{$tables->history( $address->get() )} ) {