[freeside-commits] freeside/httemplate/edit/process cust_main_county-expand.cgi, 1.13, 1.14
Ivan,,,
ivan at wavetail.420.am
Tue Feb 8 20:48:23 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv19597
Modified Files:
cust_main_county-expand.cgi
Log Message:
improve error message when splitting taxclasses and there aren't any yet, RT#11144
Index: cust_main_county-expand.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main_county-expand.cgi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- cust_main_county-expand.cgi 12 Oct 2009 01:45:12 -0000 1.13
+++ cust_main_county-expand.cgi 9 Feb 2011 04:48:21 -0000 1.14
@@ -22,7 +22,7 @@
or die dbh->errstr;
$sth->execute or die $sth->errstr;
@expansion = map $_->[0], @{$sth->fetchall_arrayref};
- die "no taxclasses - add one first" unless @expansion;#XXX better err handling
+ errorpage "No taxclasses - add one first" unless @expansion;
} else {
@expansion = split /[\n\r]{1,2}/, $cgi->param('expansion');
More information about the freeside-commits
mailing list