X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_domain.pm;h=10d5d8f5c53abfc074d0ec0e44ba01d870173bc2;hb=ab9f512842cf99736a92d8f3c1031e45bacc26fb;hp=ff0fa2f61dccb51a7c3d2296b0d7fae686aa3209;hpb=58d44fbe5eb9ab32e6d87063a4a3b22ddba9a828;p=freeside.git 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; }