From 08feb6698a96eed199404b8319a39ec4c02a084e Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 28 May 2004 07:02:37 +0000 Subject: [PATCH 1/1] report value passed for illegal action pseudo-field --- FS/FS/svc_domain.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index b713e3e95..2642146ea 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -342,7 +342,8 @@ sub check { " (or unknown registry - try \$whois_hack)"; } - $recref->{action} =~ /^(M|N)$/ or return "Illegal action"; + $recref->{action} =~ /^(M|N)$/ + or return "Illegal action: ". $recref->{action}; $recref->{action} = $1; if ( $recref->{catchall} ne '' ) { -- 2.11.0