summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-08-19 10:09:01 +0000
committerivan <ivan>2008-08-19 10:09:01 +0000
commit48d0e24d97547432ed8bec56b829c1b0891fbe3b (patch)
tree7c10ca043709ac947a0110adcaeb789f581814db
parentfdc53129d6c3073c1616bf3b9f045fad6dc7cb71 (diff)
also don't neglext nxx here
-rwxr-xr-xhttemplate/edit/process/rate_region.cgi4
1 files changed, 3 insertions, 1 deletions
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;