[freeside-commits] freeside/FS/FS cust_bill.pm,1.159,1.160

Ivan,,, ivan at wavetail.420.am
Tue Jan 30 15:50:29 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv14960

Modified Files:
	cust_bill.pm 
Log Message:
fix agent-specific logos in emailed html invoices

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- cust_bill.pm	21 Jan 2007 21:45:28 -0000	1.159
+++ cust_bill.pm	30 Jan 2007 23:50:27 -0000	1.160
@@ -576,11 +576,11 @@
 
     my $path = "$FS::UID::conf_dir/conf.$FS::UID::datasrc";
     my $file;
-    if ( defined($args{'_template'}) && length($args{'_template'})
-         && -e "$path/logo_". $args{'_template'}. ".png"
+    if ( defined($args{'template'}) && length($args{'template'})
+         && -e "$path/logo_". $args{'template'}. ".png"
        )
     {
-      $file = "$path/logo_". $args{'_template'}. ".png";
+      $file = "$path/logo_". $args{'template'}. ".png";
     } else {
       $file = "$path/logo.png";
     }



More information about the freeside-commits mailing list