projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc68d45
)
RT#37165: Print document when account is created [fix for welcome_letter, no backport...
author
Jonathan Prykop
<jonathan@freeside.biz>
Sat, 18 Jul 2015 04:41:51 +0000
(23:41 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Sat, 18 Jul 2015 04:41:51 +0000
(23:41 -0500)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
f0c4f5c
..
c636408
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-4822,7
+4822,9
@@
sub queueable_print {
my $self = qsearchs('cust_main', { 'custnum' => $opt{custnum} } )
or die "invalid customer number: " . $opt{custnum};
my $self = qsearchs('cust_main', { 'custnum' => $opt{custnum} } )
or die "invalid customer number: " . $opt{custnum};
- my $error = $self->print( { 'template' => $opt{template} } );
+#do not backport this change to 3.x
+# my $error = $self->print( { 'template' => $opt{template} } );
+ my $error = $self->print( $opt{'template'} );
die $error if $error;
}
die $error if $error;
}