X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_main_county-expand.cgi;h=42e46734a28048470fe02c6973edd4ae989dccc3;hb=ac8410cdb67639afeb84c84e975fffadf3e6cce1;hp=9984b08fa24c21b3410dbb3b81eaa3028393630d;hpb=0b94e40c533288be69a4fe60da36a385d31eff7f;p=freeside.git diff --git a/httemplate/edit/process/cust_main_county-expand.cgi b/httemplate/edit/process/cust_main_county-expand.cgi index 9984b08fa..42e46734a 100755 --- a/httemplate/edit/process/cust_main_county-expand.cgi +++ b/httemplate/edit/process/cust_main_county-expand.cgi @@ -1,7 +1,7 @@ <% include('/elements/header-popup.html', 'Addition successful' ) %> @@ -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');