summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-05-28 07:02:37 +0000
committerivan <ivan>2004-05-28 07:02:37 +0000
commit08feb6698a96eed199404b8319a39ec4c02a084e (patch)
treeb4d5096dd08a50ce80f15e998ad3cc554aec2dd6 /FS
parentcf9f008216028a4140208f0b26bba773c01fc5a2 (diff)
report value passed for illegal action pseudo-field
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_domain.pm3
1 files changed, 2 insertions, 1 deletions
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 '' ) {