diff options
author | ivan <ivan> | 2004-06-03 07:00:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-06-03 07:00:01 +0000 |
commit | 79c0fbbfc4cb61fc948b8517bc204b9d7ec01104 (patch) | |
tree | 8603404e4d417bdf3b809934735c75093492ba1a /FS | |
parent | 7bcf2e6107458e1e784cda9500c007af32bb5505 (diff) |
better error message for non-applicable invoice events
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_bill.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index d0583b2ef..72852d1f1 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -334,7 +334,7 @@ INVOICE_FROM, if specified, overrides the default email invoice From: address. sub send { my $self = shift; my $template = scalar(@_) ? shift : ''; - return '' if scalar(@_) && $_[0] && $self->cust_main->agentnum ne shift; + return 'N/A' if scalar(@_) && $_[0] && $self->cust_main->agentnum != shift; my $invoice_from = scalar(@_) ? shift : $conf->config('invoice_from'); my @print_text = $self->print_text('', $template); |