From 57bf5314e2eb74c4d6c2c653fad2d3a47fac27f5 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 29 Oct 2009 23:37:49 +0000 Subject: [PATCH] friendlier error message when you select nothing, RT#6445 --- httemplate/edit/bulk-cust_main_county.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0