From 48d0e24d97547432ed8bec56b829c1b0891fbe3b Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 19 Aug 2008 10:09:01 +0000 Subject: [PATCH] also don't neglext nxx here --- httemplate/edit/process/rate_region.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/process/rate_region.cgi b/httemplate/edit/process/rate_region.cgi index 3933ff3c5..d83940632 100755 --- a/httemplate/edit/process/rate_region.cgi +++ b/httemplate/edit/process/rate_region.cgi @@ -24,9 +24,11 @@ my $countrycode = $cgi->param('countrycode'); my @npa = split(/\s*,\s*/, $cgi->param('npa')); $npa[0] = '' unless @npa; my @rate_prefix = map { + my($npa,$nxx) = split('-', $_); new FS::rate_prefix { 'countrycode' => $countrycode, - 'npa' => $_, + 'npa' => $npa, + 'nxx' => $nxx, } } @npa; -- 2.11.0