freeside/FS/FS svc_domain.pm,1.42,1.43

ivan ivan at pouncequick.420.am
Fri May 28 00:02:40 PDT 2004


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv27683

Modified Files:
	svc_domain.pm 
Log Message:
report value passed for illegal action pseudo-field

Index: svc_domain.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_domain.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- svc_domain.pm	13 Apr 2004 22:30:48 -0000	1.42
+++ svc_domain.pm	28 May 2004 07:02:37 -0000	1.43
@@ -342,7 +342,8 @@
            " (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 '' ) {




More information about the freeside-commits mailing list