X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_domain.pm;h=10d5d8f5c53abfc074d0ec0e44ba01d870173bc2;hp=ff0fa2f61dccb51a7c3d2296b0d7fae686aa3209;hb=d20581bcbf2809d5c2969d773b16a0c8714a6dec;hpb=58d44fbe5eb9ab32e6d87063a4a3b22ddba9a828 diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index ff0fa2f61..10d5d8f5c 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -342,9 +342,8 @@ sub check { return "Unknown catchall" unless $svc_acct; } - my $error = $self->ut_textn('purpose') - or $self->SUPER::check; - return $error if $error; + $self->ut_textn('purpose') + or $self->SUPER::check; }