[Koha-bugs] [Bug 7937] Silence warns in OPAC error log (koha-opac-error_log)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 10 00:42:26 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7937

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 9060
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9060&action=edit
Bug 7937: Silence warns in OPAC error log (koha-opac-error_log)

I noticed warnings in the logs for an item without itemtype on item
and record level. While trying to resolve the warns, I noticed a possible
optimization in XSLT.pm.

GetItemsInfo is built to return the notforloan value both for the item
and record level, depending on the item-level_itype setting.

- $item->{notforloan} doesn't exist in @items
- $itemtypes->{ $item->{itype} }->{notforloan} can be replaced by
$item->{notforloan_per_itemtype}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list