]> git.koha-community.org Git - koha.git/commit
Bug 18921: Resolve a few warnings in C4/XSLT.pm
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 10 Jul 2017 12:15:09 +0000 (14:15 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 15 Sep 2017 22:54:14 +0000 (00:54 +0200)
commit4c90c0de023ca8edb2cab2425264f367ffacfadb
treeb53e3ff2c08f788bc3c2903216c0286940c9a26e
parent502dddf9da62c5206d2be7fd94cf3ff95003dc7f
Bug 18921: Resolve a few warnings in C4/XSLT.pm

Resolves warnings like:

Use of uninitialized value in hash element at C4/XSLT.pm line 262.
Use of uninitialized value in numeric eq (==) at C4/XSLT.pm line 267.
Use of uninitialized value $status in concatenation (.) or string at C4/XSLT.pm line 300.

Note: Line numbers are not exactly the same anymore.

Test plan:
[1] Enable XSLT view in OPAC
[2] Without this patch, you will probably have some of these warnings when
    doing some opac searches.
[3] Apply this patch. Check the logs again.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5f989a81dff29db78620057d70ed864b32486bc0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1c8287632ea36e6d2a8ade922fe129f5f792d6d3)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/XSLT.pm