X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main.pm;h=c636408d82f96e4a79badf129e6e946ad8f67f6e;hp=f0c4f5c0bdeca6d0f6a027f642136e1ee4510a91;hb=0b9712428c18bd68f39c66a18e489c0e0ebc79af;hpb=bc68d45408c963fbf7c024c15198373dc6b1de8f 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; }