summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2007-04-04 15:32:15 +0000
committerjeff <jeff>2007-04-04 15:32:15 +0000
commite8aea5f0f2384d3bcecf66dc92d3235999497293 (patch)
tree9e617588d8b36d74818adfa65b2f9ba442206a89
parentd0b0da42773e5026d34d9f15085dc076f399c91d (diff)
squash bug which causes re-email failed events to fail (backport)
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
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)$/ }