From 2eac2e7242aa2685df8f511c49bbf50cb55be4fd Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 23 Feb 2010 20:17:31 -0500 Subject: [PATCH] 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 --- C4/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Members.pm b/C4/Members.pm index 4f79e3e16a..836b58b649 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -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 -- 2.39.5