summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorivan <ivan>2008-08-19 10:09:00 +0000
committerivan <ivan>2008-08-19 10:09:00 +0000
commita294b41c938f46e0e5d4f46bebc52a7b0f3fcff3 (patch)
tree359cabf64cb20a3047e2064ad060885fe3810bf5 /httemplate/edit/process
parentc3054513f27015595ce512dcb28748fb9ee11e27 (diff)
also don't neglext nxx here
Diffstat (limited to 'httemplate/edit/process')
-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;