oops, quote $link w/new templating
authorivan <ivan>
Sun, 22 May 2005 20:39:21 +0000 (20:39 +0000)
committerivan <ivan>
Sun, 22 May 2005 20:39:21 +0000 (20:39 +0000)
httemplate/view/cust_bill.cgi

index b9dc23c..39c1a19 100755 (executable)
@@ -41,7 +41,7 @@ my $link = $templatename ? "$templatename-$invnum" : $invnum;
 <BR><BR>
 
 <% if ( $conf->exists('invoice_latex') ) { %>
 <BR><BR>
 
 <% if ( $conf->exists('invoice_latex') ) { %>
-  <A HREF="<%= $p %>view/cust_bill-pdf.cgi?$link.pdf">View typeset invoice</A>
+  <A HREF="<%= $p %>view/cust_bill-pdf.cgi?<%= $link %>.pdf">View typeset invoice</A>
   <BR><BR>
 <% } %>
 
   <BR><BR>
 <% } %>