diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-10-20 20:56:13 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-10-20 20:56:13 -0500 |
commit | 974fceaaca8e1404750a60a4daafb568b1be5159 (patch) | |
tree | bfd6943babb0551302951cc9fd3a163491b95ba1 /FS/FS/msg_template.pm | |
parent | b25c22890cc4523988b1dc84938d1e52bc681e25 (diff) |
RT#38217: Send email when logging conditions are met
Diffstat (limited to 'FS/FS/msg_template.pm')
-rw-r--r-- | FS/FS/msg_template.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index d17fd41..1d357b1 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -274,7 +274,7 @@ Options are passed as a list of name/value pairs: =item cust_main -Customer object (required). +Customer object =item object @@ -324,7 +324,7 @@ sub prepare_substitutions { my( $self, %opt ) = @_; my $cust_main = $opt{'cust_main'}; # or die 'cust_main required'; - my $object = $opt{'object'} or die 'object required'; + my $object = $opt{'object'}; # or die 'object required'; warn "preparing substitutions for '".$self->msgname."'\n" if $DEBUG; |