[Koha-bugs] [Bug 8125] SIP should send Zipcode with address

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 21 18:36:12 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8125

Colin Campbell <colin.campbell at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |colin.campbell at ptfs-europe.
                   |                            |com

--- Comment #2 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
The zip code is just part of the address in sip terms, but the patch as is does
not do that it appends address to adr but it never appends zip you probably
want two lines and make the second test on $adr && $zip the test (is there a
string of greater than 0 length in both elsements?) is there to decide whether
to add a space before appending the new element. I think

$adr .= ($adr && $address ) ? " $address" : $address;
$adr .= ($adr && $zip) ? " $zip" : $zip;

is what you want.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list