[freeside-commits]
freeside/httemplate/view cust_bill-logo.cgi, 1.3, 1.4
Ivan,,,
ivan at wavetail.420.am
Thu Oct 6 16:07:29 PDT 2005
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail:/tmp/cvs-serv16416
Modified Files:
cust_bill-logo.cgi
Log Message:
use default logo if the agent-specific one isn't found
Index: cust_bill-logo.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-logo.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cust_bill-logo.cgi 6 Oct 2005 23:03:23 -0000 1.3
+++ cust_bill-logo.cgi 6 Oct 2005 23:07:27 -0000 1.4
@@ -3,8 +3,11 @@
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/;
my $templatename = $1;
-$templatename = "_$templatename"
- if $templatename && $conf->exists("${logo}_$templatename.png");
+if ( $templatename && $conf->exists("${logo}_$templatename.png") ) {
+ $templatename = "_$templatename";
+} else {
+ $templatename = '';
+}
my $conf = new FS::Conf;
More information about the freeside-commits
mailing list