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

David Nind <[email protected]> changed:

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

--- Comment #7 from David Nind <[email protected]> ---
Created attachment 135008
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135008&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

Signed-off-by: David Nind <[email protected]>

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