]> git.koha-community.org Git - koha.git/commit
Bug 8880 - Uninitialized variables trigger error log entries
authorMark Tompsett <mtompset@hotmail.com>
Fri, 5 Oct 2012 12:33:47 +0000 (20:33 +0800)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 20 Nov 2012 12:18:03 +0000 (07:18 -0500)
commit37efde57d22540666873aa517ff1ff867897646e
treeaaabde8ff1cba3ceaa208c848444976d7bc6feb0
parent90ddc20c074e05c416d2acb02c6a92d11e5cd3ce
Bug 8880 - Uninitialized variables trigger error log entries

Simply by logging in, clicking Circulation, clicking the
'Check out' link, error log entries were generated.

This patch ensures $findborrower, $barcode, and $print are all
initialized by adding "|| q{}" onto their initializations.
This reduces the silent error log entries generated.

As this patch would overlap with bug 8826 in the initialization
of hashes to prevent other error logs, those changes are in this
patch. Applying this patch without having applied the patch for
bug 8826.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
circ/circulation.pl