diff options
author | ivan <ivan> | 2008-08-19 10:09:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-19 10:09:00 +0000 |
commit | a294b41c938f46e0e5d4f46bebc52a7b0f3fcff3 (patch) | |
tree | 359cabf64cb20a3047e2064ad060885fe3810bf5 /httemplate/edit | |
parent | c3054513f27015595ce512dcb28748fb9ee11e27 (diff) |
also don't neglext nxx here
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/process/rate_region.cgi | 4 |
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; |