Bug 5175: Publisher link breaks display, if no publisher exists
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 20 Nov 2010 13:00:01 +0000 (14:00 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 20 Nov 2010 21:40:57 +0000 (10:40 +1300)
commit455c87d96e168115c5113600859b4646082ddead
treefb570c1c89b40b93f4e263a91d6c55000f1a491c
parentc0272a6b66e053a86010c7eb8fce1bf080bf428b
Bug 5175: Publisher link breaks display, if no publisher exists

If there is no publisher the empty publisher link will break the record display
in staff and intranet.

This patch adds a check for existence of subfield b.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl