Bug 18922: Warning in Biblio::GetCOinSBiblio
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 10 Jul 2017 12:54:56 +0000 (14:54 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 13 Jan 2018 00:25:13 +0000 (13:25 +1300)
commitfbc68648a68892d5ff3c4ee38e05e140dc67150e
tree031ede90ecaf9932cdf4995f13d2733565afbd7d
parent95bcc2a86a5875b3c57d9f37ecc9acfd31f36dfb
Bug 18922: Warning in Biblio::GetCOinSBiblio

Use of uninitialized value in concatenation (.) or string at C4/Biblio.pm line 1456.
Note: In current master this is now line 1370 (Oct 9, 2017).

Test plan:
Enable COinSinOPACResults.
Select a record with leader pos6==a and pos7==a. This triggers genre to be
journalArticle and titletype to be a.
Without this patch, do an opac search that includes this record.
Check the log. You should see the warning.
Apply this patch, search again and check the log. The warning should not be
repeated again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a82d54d4b4f5eb7aa7d45afc13dac0a80c86f9ce)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 0e1bc5db8202f94aa88cb69905ff0106f2896497)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Biblio.pm