projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c305451
)
also don't neglext nxx here
author
ivan
<ivan>
Tue, 19 Aug 2008 10:09:00 +0000
(10:09 +0000)
committer
ivan
<ivan>
Tue, 19 Aug 2008 10:09:00 +0000
(10:09 +0000)
httemplate/edit/process/rate_region.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/rate_region.cgi
b/httemplate/edit/process/rate_region.cgi
index
3933ff3
..
d839406
100755
(executable)
--- 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;