From e8aea5f0f2384d3bcecf66dc92d3235999497293 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 4 Apr 2007 15:32:15 +0000 Subject: [PATCH] squash bug which causes re-email failed events to fail (backport) --- FS/FS/cust_bill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)$/ } -- 2.20.1