[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
Thu Apr 12 11:14:38 CEST 2012


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9060|0                           |1
        is obsolete|                            |

--- Comment #8 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 9134
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9134&action=edit
[SIGNED OFF] 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}

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


More information about the Koha-bugs mailing list