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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to