# Returns a list.
- my ( @row_dna_contig, @html );
+ my ( $feat, @row_dna_contig, @html );
- push @row_dna_contig, Maasha::XHTML::p( txt => qq(Export Feature: "$cookie->{ 'Q_ID' }" DNA from Contig: ), class => 'inline' );
+ $feat = $cookie->{ 'Q_ID' } || "[no name]";
+
+ push @row_dna_contig, Maasha::XHTML::p( txt => qq(Export Feature: "$feat" DNA from Contig: ), class => 'inline' );
push @row_dna_contig, Maasha::XHTML::p( txt => "$cookie->{ 'CONTIG' } Start: ", class => 'inline' );
push @row_dna_contig, Maasha::XHTML::text( name => "s_beg", value => Maasha::Calc::commify( $cookie->{ 'S_BEG' } ), size => 15 );
push @row_dna_contig, Maasha::XHTML::p( txt => "End: ", class => 'inline' );