[Koha-bugs] [Bug 8175] New: Missing defined check in catalogue/details.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 1 05:16:29 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8175
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8175
Assignee: gmcharlt at gmail.com
Summary: Missing defined check in catalogue/details.pl
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: mtompset at hotmail.com
Hardware: All
Status: NEW
Version: rel_3_6
Component: Cataloging
Product: Koha
SchemaSpy says items.materials can be null
C4::Items seems to just pull the value from items.*
Error log was generating:
[Fri Jun 01 07:14:16 2012] [error] [client 192.168.100.2] [Fri Jun 1 07:14:16
2
012] detail.pl: Use of uninitialized value in string ne at
/usr/share/koha/intra
net/cgi-bin/catalogue/detail.pl line 255.
I believe 255 should read:
if (defined($item->{'materials'}) && $item->{'materials'} ne ''){
It currently reads:
if ($item->{'materials'} ne ''){
I was looking at 3.6.3 source
I didn't check my 3.8.1 version
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list