From 987f9bf913c6088fc5e6ea69e0f275f50979bea5 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 8 Dec 2011 22:45:29 +0000 Subject: [PATCH] fix missing logo in HTML invoice, from #12367 --- httemplate/view/cust_bill-logo.cgi | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1