perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/tmpl/custom/html page_toc
Date Tue, 05 Feb 2002 10:09:19 GMT
stas        02/02/05 02:09:19

  Modified:    tmpl/custom/html page_toc
  Log:
  - check for defined before doing comparison
  
  Revision  Changes    Path
  1.5       +1 -1      modperl-docs/tmpl/custom/html/page_toc
  
  Index: page_toc
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page_toc,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- page_toc	5 Feb 2002 05:25:56 -0000	1.4
  +++ page_toc	5 Feb 2002 10:09:19 -0000	1.5
  @@ -5,7 +5,7 @@
      # toc - an array ref with keys: link, title, abstract, subs
      #       (subs is optional and includes a similar array)
   %]
  -[% IF toc.size > 1 %]
  +[% IF toc.size && toc.size > 1 %]
   <h3>Table of Contents</h3>
   <div class="toc">
       [% INCLUDE page_toc_section subs=toc %]
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message