From: ivan Date: Fri, 28 May 2004 07:02:38 +0000 (+0000) Subject: report value passed for illegal action pseudo-field X-Git-Tag: freeside_1_4_2beta1~88 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=4c9870eeccb607b37aeb15fdec5ad02a4a143145;p=freeside.git report value passed for illegal action pseudo-field --- diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index 45fcdd24a..c0190fcd5 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -348,7 +348,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 '' ) {