chiark / gitweb /
Make colourful pages pass W3C HTML and CSS validators
[ypp-sc-tools.main.git] / yarrg / web / query_commod
index 153ea792c92e7f9abcc9eac7472d37c72bdb7fca..8d55f2686130568ba92d2c578dd787d2362e368e 100644 (file)
@@ -75,7 +75,8 @@ my $qa= \%ARGS;
 <%perl>
 
 $emsgokorprint->($emsg) or $cmid=undef;
 <%perl>
 
 $emsgokorprint->($emsg) or $cmid=undef;
-return unless defined $cmid;
+print("</div>"), return
+       unless defined $cmid;
 $someresults->();
 
 #---------- actually compute the results and print them ----------
 $someresults->();
 
 #---------- actually compute the results and print them ----------
@@ -215,3 +216,4 @@ No offers.
 <%perl>
 }
 </%perl>
 <%perl>
 }
 </%perl>
+</div>