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:
Garry Collum 2010-02-23 20:17:31 -05:00 committed by Galen Charlton
parent 977db7c45e
commit 2eac2e7242
1 changed files with 1 additions and 1 deletions

View File

@ -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