projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
this is not my beautiful magic template! (water flowing underground)
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
cust_bill-logo.cgi
diff --git
a/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
b/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
index
bf82a87
..
e353b44
100644
(file)
--- 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 );
use CGI;
use FS::SelfService qw( invoice_logo );
-$cgi = new CGI;
+
my
$cgi = new CGI;
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/ or '' =~ /^()$/;
my $templatename = $1;
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',
).
'-expires' => 'now',
).
- $
logo
;
+ $
hashref->{'logo'}
;