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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches