From: ivan Date: Thu, 29 Oct 2009 23:37:49 +0000 (+0000) Subject: friendlier error message when you select nothing, RT#6445 X-Git-Tag: root_of_svc_elec_features~723 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=57bf5314e2eb74c4d6c2c653fad2d3a47fac27f5 friendlier error message when you select nothing, RT#6445 --- diff --git a/httemplate/edit/bulk-cust_main_county.html b/httemplate/edit/bulk-cust_main_county.html index bb57fc5d3..93d9444b8 100644 --- a/httemplate/edit/bulk-cust_main_county.html +++ b/httemplate/edit/bulk-cust_main_county.html @@ -85,7 +85,7 @@ if ( $cgi->param('error') ) { } else { my($query) = $cgi->keywords; $query =~ /^([\d,]+)$/ - or die 'Nothing selected'; #XXX better error when nothing selected + or $m->comp('/elements/errorpage-popup.html', 'Nothing selected'); @taxnum = split(',', $1); }