aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Fripost/Schema/Domain.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Fripost/Schema/Domain.pm b/lib/Fripost/Schema/Domain.pm
index 75a525d..5e25c22 100644
--- a/lib/Fripost/Schema/Domain.pm
+++ b/lib/Fripost/Schema/Domain.pm
@@ -686,8 +686,8 @@ sub _is_valid {
@{$d->{canAddList}} ]
if $d->{canAddList};
$d->{owner} = [ map { email_valid($_, -prefix => 'fake') }
- @{$d->{postmaster}} ]
- if $d->{postmaster};
+ @{$d->{owner}} ]
+ if $d->{owner};
$d->{postmaster} = [ map { email_valid($_, -prefix => 'fake') }
@{$d->{postmaster}} ]
if $d->{postmaster};