summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2007-04-04 15:30:34 +0000
committerjeff <jeff>2007-04-04 15:30:34 +0000
commit35c4388e065d3abccccc336c944273b7e23cd95f (patch)
tree2d82c975e86db4985ec745b23a81aa7b7cbcb7e7
parentc00ac2cc3c556b2d0ebeb44a19ecc43e24476b39 (diff)
squash bug which causes re-email failed events to fail
-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 13174487d..82b5e0c1e 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)$/ }