freeside/FS/FS cust_main_county.pm,1.8.4.2,1.8.4.3
ivan
ivan at pouncequick.420.am
Wed Mar 16 03:31:22 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv27768
Modified Files:
Tag: FREESIDE_1_4_BRANCH
cust_main_county.pm
Log Message:
fix regionselector for CR in region names for some reason
Index: cust_main_county.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main_county.pm,v
retrieving revision 1.8.4.2
retrieving revision 1.8.4.3
diff -u -d -r1.8.4.2 -r1.8.4.3
--- cust_main_county.pm 1 Apr 2004 00:44:36 -0000 1.8.4.2
+++ cust_main_county.pm 16 Mar 2005 11:31:20 -0000 1.8.4.3
@@ -193,8 +193,9 @@
foreach my $country ( sort keys %cust_main_county ) {
$script_html .= "\nif ( country == \"$country\" ) {\n";
foreach my $state ( sort keys %{$cust_main_county{$country}} ) {
- my $text = $state || '(n/a)';
- $script_html .= qq!opt(what.form.${prefix}state, "$state", "$text");\n!;
+ my( $dstate = $state ) =~ s/\n//g;
+ my $text = $dstate || '(n/a)';
+ $script_html .= qq!opt(what.form.${prefix}state, "$dstate", "$text");\n!;
}
$script_html .= "}\n";
}
More information about the freeside-commits
mailing list