summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-08-09 07:03:43 +0000
committerivan <ivan>2006-08-09 07:03:43 +0000
commitcea76425e837641044923ac3622a2d0a35e4cfb2 (patch)
tree6059cb31710ab52b6bf677ad0d1b054df9bd8f58
parent6c375156081be5d2023001ed8eaac9b6db568e95 (diff)
this is not my beautiful magic template! (water flowing underground)
-rw-r--r--fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi b/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
index bf82a87e8..e353b4489 100644
--- a/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
+++ b/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
@@ -4,15 +4,15 @@ use strict;
use CGI;
use FS::SelfService qw( invoice_logo );
-$cgi = new CGI;
+my $cgi = new CGI;
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/ or '' =~ /^()$/;
my $templatename = $1;
-invoice_logo($templatename);
+my $hashref = invoice_logo($templatename);
-print $cgi->header( '-type' => $content_type,
+print $cgi->header( '-type' => $hashref->{'content_type'},
'-expires' => 'now',
).
- $logo;
+ $hashref->{'logo'};