summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-16 02:43:35 +0200
committerlpsolit%gmail.com <>2005-08-16 02:43:35 +0200
commit746013729e6377357efb68de8d7f2fd93e25a07c (patch)
tree1aabd9f01c7cf495ee677b23b5452abbeed96228 /editflagtypes.cgi
parent09756eda41e62f1b216c38338c6d0702dccc7502 (diff)
downloadbugzilla-746013729e6377357efb68de8d7f2fd93e25a07c.tar.gz
bugzilla-746013729e6377357efb68de8d7f2fd93e25a07c.tar.xz
Bug 304653: remove 'use Bugzilla::Error' from Util.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi
index bcf811f94..a7c1a5541 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -489,7 +489,10 @@ sub validateCCList {
{ cc_list => $cgi->param('cc_list') });
my @addresses = split(/[, ]+/, $cgi->param('cc_list'));
- foreach my $address (@addresses) { check_email_syntax($address) }
+ foreach my $address (@addresses) {
+ validate_email_syntax($address)
+ || ThrowUserError('illegal_email_address', {addr => $address});
+ }
}
sub validateProduct {