From: jeff Date: Wed, 4 Apr 2007 15:32:15 +0000 (+0000) Subject: squash bug which causes re-email failed events to fail (backport) X-Git-Tag: freeside_1_7_3rc1~496 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=e8aea5f0f2384d3bcecf66dc92d3235999497293;p=freeside.git squash bug which causes re-email failed events to fail (backport) --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 844d1b867..56f9142e8 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -524,7 +524,7 @@ sub generate_email { 'subject' => (($args{'subject'}) ? $args{'subject'} : 'Invoice'), ); - if (ref($args{'to'} eq 'ARRAY')) { + if (ref($args{'to'}) eq 'ARRAY') { $return{'to'} = $args{'to'}; } else { $return{'to'} = [ grep { $_ !~ /^(POST|FAX)$/ }