[freeside-commits] freeside/httemplate/edit cust_main_county.html, 1.1.2.2, 1.1.2.3

Ivan,,, ivan at wavetail.420.am
Mon Mar 31 23:37:23 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv32675

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_main_county.html 
Log Message:
probably doesn't matter now, but better error reporting anyway

Index: cust_main_county.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main_county.html,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- cust_main_county.html	4 Jan 2008 02:42:28 -0000	1.1.2.2
+++ cust_main_county.html	1 Apr 2008 06:37:21 -0000	1.1.2.3
@@ -21,7 +21,6 @@
 my $conf = new FS::Conf;
 
 </%once>
-
 <%init>
 
 die "access denied"
@@ -29,7 +28,8 @@
 
 my $taxnum;
 if ( $cgi->param('error') ) {
-  $cgi->param('taxnum') =~ /^(\d+)$/ or die 'error, but no taxnum';
+  $cgi->param('taxnum') =~ /^(\d+)$/
+    or die "no taxnum, but error: ". $cgi->param('error');
   $taxnum = $1;
 } else {
   my($query) = $cgi->keywords;



More information about the freeside-commits mailing list