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

--- Comment #1 from Nick Clemens <[email protected]> ---
Created attachment 142775
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142775&action=edit
Bug 32037: Check for existence of object before building link

This patch adds a check on the existence of the object and passes this to the
template

I also drop a level of IF by moving to ELSIF

To test:
 1 - Enable ReturnLog amd IssueLog
 2 - Checkout an item to a patron
 3 - Return it
 4 - View 'Modification log' tab of the borrwer
 5 - Note item links, test them, they work
 6 - Delete the item
 7 - Reload and try links again, they do not work
 8 - Apply patch
 9 - Reload, no more links
10 - Checkout and return another item
11 - This one has links, and they work as before

-- 
You are receiving this mail because:
You are the assignee for the bug.
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