From afd4aaf90e98b14a460ee8f88c993a3f4fc7a88a Mon Sep 17 00:00:00 2001
From: Garry Collum <gcollum@gmail.com>
Date: Tue, 23 Feb 2010 20:13:55 -0500
Subject: [PATCH] Bug 4248: Fixes zip code in cities town pull down list.
Content-Type: text/plain; charset="utf-8"

Adds zip code to the GetCities function.  This function is only used in memberentry.pl.
---
 C4/Members.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Members.pm b/C4/Members.pm
index 98adc27..10b365a 100644
--- a/C4/Members.pm
+++ b/C4/Members.pm
@@ -1570,7 +1570,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
-- 
1.5.6.5