projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed up capture
[clearscm.git]
/
maps
/
bin
/
add2whitelist.cgi
diff --git
a/maps/bin/add2whitelist.cgi
b/maps/bin/add2whitelist.cgi
index
6b75398
..
4aa7379
100755
(executable)
--- a/
maps/bin/add2whitelist.cgi
+++ b/
maps/bin/add2whitelist.cgi
@@
-51,9
+51,9
@@
sub Add2List(%) {
$rec{sender} = CheckEmail $rec{pattern}, $rec{domain};
$rec{sender} = CheckEmail $rec{pattern}, $rec{domain};
- my ($status
, $rule
) = OnWhitelist($rec{sender}, $rec{userid});
+ my ($status) = OnWhitelist($rec{sender}, $rec{userid});
- if ($status
!= 0
) {
+ if ($status) {
print br {-class => 'error'},
"The email address $rec{sender} is already on ${Userid}'s $rec{type} list";
} else {
print br {-class => 'error'},
"The email address $rec{sender} is already on ${Userid}'s $rec{type} list";
} else {