X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fmsg_template.pm;h=1d357b1a307699a3a1bd22998001a98bbdc21156;hp=d17fd41cb85cc2d16a7ee704c1e6747afa1526ba;hb=974fceaaca8e1404750a60a4daafb568b1be5159;hpb=fc672686f119da0b3b34fd3c73acc3fea81262e6 diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index d17fd41cb..1d357b1a3 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;