diff options
author | ivan <ivan> | 2007-01-30 23:50:27 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-01-30 23:50:27 +0000 |
commit | 811f2540b22045c137b4b8f2b5ff17bf6cbe957c (patch) | |
tree | ce1cab516b5e169478de7b37ae3f5b108406cd4d | |
parent | ad053ec7759bfb4f823abb0e8032e11b7491f8d2 (diff) |
fix agent-specific logos in emailed html invoices
-rw-r--r-- | FS/FS/cust_bill.pm | 6 |
1 files 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"; } |