summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_bill-logo.cgi
diff options
context:
space:
mode:
authormark <mark>2011-12-08 22:45:29 +0000
committermark <mark>2011-12-08 22:45:29 +0000
commit987f9bf913c6088fc5e6ea69e0f275f50979bea5 (patch)
treeb476f63dda60b9d635cfd237d83f0300158f27a9 /httemplate/view/cust_bill-logo.cgi
parent734887b783322f6ae2f5e04f3d8cfa9c4b261410 (diff)
fix missing logo in HTML invoice, from #12367
Diffstat (limited to 'httemplate/view/cust_bill-logo.cgi')
-rwxr-xr-xhttemplate/view/cust_bill-logo.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/view/cust_bill-logo.cgi b/httemplate/view/cust_bill-logo.cgi
index 75321ef82..d55ec041e 100755
--- a/httemplate/view/cust_bill-logo.cgi
+++ b/httemplate/view/cust_bill-logo.cgi
@@ -16,6 +16,8 @@ if ( $cgi->param('invnum') ) {
$conf = $cust_bill->conf;
$agentnum = $cust_bill->cust_main->agentnum;
} else {
+ # assume the default config
+ $conf = FS::Conf->new;
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/ or die 'illegal query';
$templatename = $1;