From 811f2540b22045c137b4b8f2b5ff17bf6cbe957c Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 30 Jan 2007 23:50:27 +0000 Subject: [PATCH] fix agent-specific logos in emailed html invoices --- FS/FS/cust_bill.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index d55eb438f..dc45dc32b 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -576,11 +576,11 @@ sub generate_email { 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"; } -- 2.11.0