From aab3b1fcf812e2ba28834faf558203c88e66fa48 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 5 Aug 2003 18:52:39 +0000 Subject: [PATCH] remove spurious re-use of $error --- FS/FS/svc_domain.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.20.1