[freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.11, 1.12

Mark Wells mark at wavetail.420.am
Thu Dec 8 14:45:31 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv20777/httemplate/view

Modified Files:
	cust_bill-logo.cgi 
Log Message:
fix missing logo in HTML invoice, from #12367

Index: cust_bill-logo.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-logo.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- cust_bill-logo.cgi	15 Sep 2011 10:18:57 -0000	1.11
+++ cust_bill-logo.cgi	8 Dec 2011 22:45:29 -0000	1.12
@@ -16,6 +16,8 @@
   $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;



More information about the freeside-commits mailing list