X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_main_county-expand.cgi;h=a108276214a78e8160c96f90f4409f66b6272585;hp=9984b08fa24c21b3410dbb3b81eaa3028393630d;hb=84cb76fc346c721d87fa42515cd0780a01c0a686;hpb=e0914b6ff8d2def6b5b62eb1106d3c560ca21df9 diff --git a/httemplate/edit/process/cust_main_county-expand.cgi b/httemplate/edit/process/cust_main_county-expand.cgi index 9984b08fa..a10827621 100755 --- a/httemplate/edit/process/cust_main_county-expand.cgi +++ b/httemplate/edit/process/cust_main_county-expand.cgi @@ -22,7 +22,7 @@ if ( $cgi->param('taxclass') ) { 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');