summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark <mark>2011-12-08 22:45:38 +0000
committermark <mark>2011-12-08 22:45:38 +0000
commitd013bcc04e624ad1235c2299946512f35caf324c (patch)
tree8b5d44b97bb36eaa6f22b1bd5150495f27e5c06c
parent492a9305157ad99f07dcc188a52666d1c5142ac7 (diff)
fix missing logo in HTML invoice, from #12367
-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;