diff options
| -rwxr-xr-x | httemplate/view/cust_bill-logo.cgi | 2 | 
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;  | 
