Bug 4248: Fixes zip code in cities town pull down list.
Adds zip code to the GetCities function. This function is only used in memberentry.pl. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
977db7c45e
commit
2eac2e7242
|
|
@ -1537,7 +1537,7 @@ sub GetCities {
|
|||
$city{""} = "";
|
||||
while ( my $data = $sth->fetchrow_hashref ) {
|
||||
push @id, $data->{'city_zipcode'}."|".$data->{'city_name'};
|
||||
$city{ $data->{'city_zipcode'}."|".$data->{'city_name'} } = $data->{'city_name'};
|
||||
$city{ $data->{'city_zipcode'}."|".$data->{'city_name'} } = $data->{'city_name'} . " " . $data->{'city_zipcode'};
|
||||
}
|
||||
|
||||
#test to know if the table contain some records if no the function return nothing
|
||||
|
|
|
|||
Loading…
Reference in New Issue