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

--- Comment #269 from Joonas Kylmälä <[email protected]> ---
Created attachment 110115
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110115&action=edit
Bug 20447: (follow-up) Prevent internal server error with Attach item feature

If one tried to use the "Edit -> Attach item" feature in biblio detail.pl
page then the following error would come if the item was not attached
to any holdings record:

"DBIC result _type  isn't of the _type Holding"

This fix prevents the error by skipping the creation of Holding object
if the result set is empty.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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