From: ivan Date: Tue, 5 Aug 2003 18:52:39 +0000 (+0000) Subject: remove spurious re-use of $error X-Git-Tag: NET_WHOIS_RAW_0_31~453 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=aab3b1fcf812e2ba28834faf558203c88e66fa48 remove spurious re-use of $error --- 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; }