projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24352d1
)
Fixed bug where adding a username only rule failed
author
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 20 Jul 2021 18:59:01 +0000
(11:59 -0700)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 20 Jul 2021 18:59:01 +0000
(11:59 -0700)
maps/lib/MAPS.pm
patch
|
blob
|
history
diff --git
a/maps/lib/MAPS.pm
b/maps/lib/MAPS.pm
index
d316fe7
..
c0e3448
100644
(file)
--- a/
maps/lib/MAPS.pm
+++ b/
maps/lib/MAPS.pm
@@
-403,6
+403,8
@@
sub CheckEmail(;$$) {
if ($username) {
if ($username =~ /(.*)\@(.*)/) {
return lc "$1\@$2";
+ } else {
+ return lc "$username\@";
} # if
} elsif ($domain) {
if ($domain =~ /(.*)\@(.*)/) {