chiark / gitweb /
Better title for routetrade results
[ypp-sc-tools.db-test.git] / yarrg / web / lookup
index cfffd146af3548c87efcccde44ea0b2db3090c8a..e3c6770c5fbb51cea557ce41a6589bebe3c971f1 100755 (executable)
@@ -209,7 +209,9 @@ my $results_head_done=0;
 my $someresults= sub {
        return if $results_head_done;
        $results_head_done=1;
-       print "\n<h1>Results</h1>\n";
+       my ($h)= @_;
+       $h= 'Results' if !$h;
+       print "\n<h1>$h</h1>\n";
 };
 
 </%perl>