diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-17 23:41:51 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-17 23:41:51 -0500 |
commit | 0b9712428c18bd68f39c66a18e489c0e0ebc79af (patch) | |
tree | 645f3459dfea95e6d2b8a4e58226e1ad345d790d | |
parent | bc68d45408c963fbf7c024c15198373dc6b1de8f (diff) |
RT#37165: Print document when account is created [fix for welcome_letter, no backport to 3]
-rw-r--r-- | FS/FS/cust_main.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index f0c4f5c0b..c636408d8 100644 --- 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 $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; } |