summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-01-30 23:50:27 +0000
committerivan <ivan>2007-01-30 23:50:27 +0000
commit811f2540b22045c137b4b8f2b5ff17bf6cbe957c (patch)
treece1cab516b5e169478de7b37ae3f5b108406cd4d
parentad053ec7759bfb4f823abb0e8032e11b7491f8d2 (diff)
fix agent-specific logos in emailed html invoices
-rw-r--r--FS/FS/cust_bill.pm6
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";
}