From 3cf78733a693c64eff64d3e72485194b07484e12 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Fri, 13 Aug 2021 05:31:20 -0700 Subject: [PATCH] Fixed bug in AddLog --- maps/lib/MAPS.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maps/lib/MAPS.pm b/maps/lib/MAPS.pm index 5802aa5..73c0d4d 100644 --- a/maps/lib/MAPS.pm +++ b/maps/lib/MAPS.pm @@ -311,8 +311,7 @@ sub AddLog(%) { my (%params) = @_; # Some email senders are coming in mixed case. We don't want that - $params{pattern} = $params{pattern} ? lc $params{pattern} : ''; - $params{domain} = $params{domain} ? lc $params{domain} : ''; + $params{sender} = $params{sender} ? lc $params{sender} : ''; $params{timestamp} = UnixDatetime2SQLDatetime(scalar(localtime)); -- 2.17.1