]> granicus.if.org Git - docbook-dsssl/commitdiff
Make comparsion safe even if nav.graphics is specified as string type
authorJirka Kosek <jirka@kosek.cz>
Wed, 26 Feb 2003 23:06:12 +0000 (23:06 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 26 Feb 2003 23:06:12 +0000 (23:06 +0000)
website/xsl/toc-tabular.xsl

index e55fb35c9967a4c4dc0d96f97b613da7a20877b6..1a16571e3f41e1a5c369be68c5b815e633a241d9 100644 (file)
     </xsl:call-template>
 
     <xsl:choose>
-      <xsl:when test="$nav.graphics">
+      <xsl:when test="$nav.graphics != 0">
         <xsl:call-template name="link.to.page">
           <xsl:with-param name="href" select="@href"/>
           <xsl:with-param name="page" select="$target"/>