From: ivan Date: Thu, 29 Oct 2009 23:37:50 +0000 (+0000) Subject: friendlier error message when you select nothing, RT#6445 X-Git-Tag: freeside_1_9_2~264 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=cccd6a6039ed390c95f1989f8ac8af259ffc2061;p=freeside.git 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); }