diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-09 03:33:09 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-09 03:33:09 +0200 |
commit | 42c3fc18e894841e6578b5814405b41946b64639 (patch) | |
tree | 2fe2317ed655d3feb9410a20d285be70af643b57 /lib/Fripost/Schema/Domain.pm | |
parent | a2df8385c36f166d65a447aab4e081961abad5a2 (diff) |
wibble
Diffstat (limited to 'lib/Fripost/Schema/Domain.pm')
-rw-r--r-- | lib/Fripost/Schema/Domain.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Fripost/Schema/Domain.pm b/lib/Fripost/Schema/Domain.pm index 3ff2c25..e1b855f 100644 --- a/lib/Fripost/Schema/Domain.pm +++ b/lib/Fripost/Schema/Domain.pm @@ -159,7 +159,8 @@ sub _is_valid { must_attrs( $d, qw/domain isactive/ ); email_valid( $d->{domain}, -prefix => 'fake@', -error => 'Invalid domain', -exact => 1 ); - $d->{catchalls} = [ map { email_valid($_) } @{$d->{catchalls}} ]; + $d->{catchalls} = [ map { email_valid($_, -prefix => 'fake') } + @{$d->{catchalls}} ]; } |