X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill-logo.cgi;h=d55ec041ebf1a0bba7b0da0c7ba60c2dc74f2e7c;hp=75321ef82b772b947178ceccc8b50edf29cccef4;hb=d013bcc04e624ad1235c2299946512f35caf324c;hpb=492a9305157ad99f07dcc188a52666d1c5142ac7 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;