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

--- Comment #2 from Nick Clemens <n...@bywatersolutions.com> ---
Created attachment 131917
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131917&action=edit
Bug 30009: If no record set MARCNOTES undef, rather than empty array

Currently we pass an empty array if there is no marc record - this
is read as 'true' by template toolkit, and the desciptions tab is loaded

This patch just sets the variable as undef which is false

To test:
1 - Find or create an invalid marc record
2 - View in staff client
3 - Note tab Descriptions(1) has no content
4 - Apply patch, reload
5 - No empty tab

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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