https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21842

Fridolin SOMERS <[email protected]> changed:

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

--- Comment #6 from Fridolin SOMERS <[email protected]> ---
Created attachment 82656
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82656&action=edit
Bug 21842: test Koha::ItemType in defined in patron summary print

Like Bug 19194 calls on $itemtype->value must test the object is defined.
This patch fixes members/summary-print.pl

Test plan :
1) Define system preference item-level_itypes on "specific item"
2) Define in framework a subfield of items field : mapped on items.itype and
not mandatory
3) Create an item without value on this subfield
4) Go on a patron page
5) Checkout this item
6) Click on "Print" > "Print summary"
7) Without patch you get the error :
Can't call method "description" on an undefined value
8) With patch you see the itemtype description

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to