From: ivan Date: Fri, 28 May 2004 07:02:37 +0000 (+0000) Subject: report value passed for illegal action pseudo-field X-Git-Tag: BEFORE_FINAL_MASONIZE~1070 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=08feb6698a96eed199404b8319a39ec4c02a084e;hp=cf9f008216028a4140208f0b26bba773c01fc5a2 report value passed for illegal action pseudo-field --- 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 '' ) {