diff options
author | Mitch Jackson <mitch@mitchjacksontech.com> | 2018-10-09 13:36:58 -0400 |
---|---|---|
committer | Mitch Jackson <mitch@mitchjacksontech.com> | 2018-10-09 13:36:58 -0400 |
commit | b48b0eaaa748f14f8374065d97c3f0e7f2ccf1b7 (patch) | |
tree | b2311ede17a03787dc477fcdba2e131dba842aa4 | |
parent | 354b9290110ed25ab800be47df56061b5c0c3088 (diff) |
RT# 38217 Fix syntax warning from typo
-rw-r--r-- | FS/FS/cust_main_Mixin.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index ccd1b84..296a9e4 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -465,8 +465,7 @@ sub email_search_result { next; # unlinked object; nothing else we can do } - my %to = {}; - if ($to) { $to{'to'} = $to; } + my %to = ( to => $to ) if $to; if ( $msg_template ) { # Now supports other context objects. |