summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-07-13 09:10:17 +0000
committerivan <ivan>2009-07-13 09:10:17 +0000
commitb0137008c06198cbb14f42804d33c31de5e3c6c2 (patch)
tree1d341b469eadfdbede275ae57de2b892752b976b
parentf14d53ff0e570cc24395b9d7953ea427ac468de3 (diff)
fix old-style agent-virt logo?
-rwxr-xr-xhttemplate/view/cust_bill-logo.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill-logo.cgi b/httemplate/view/cust_bill-logo.cgi
index 09ac9a717..ad2ff5430 100755
--- a/httemplate/view/cust_bill-logo.cgi
+++ b/httemplate/view/cust_bill-logo.cgi
@@ -10,7 +10,7 @@ my $conf = new FS::Conf;
my $templatename;
my $agentnum = '';
if ( $cgi->param('invnum') ) {
- $templatename = $cgi->param('templatename');
+ $templatename = $cgi->param('template') || $cgi->param('templatename');
my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } )
or die 'unknown invnum';
$agentnum = $cust_bill->cust_main->agentnum;