https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26123 --- Comment #19 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #18)
Hi Lucas, I believe there is something wrong about this line here, as the empty box shows when no notes, checkouts, holds, etc are on the account now, when it should be hidden:
+ if ( $checkouts > 0 || $overdues_count > 0 || $holds_pending > 0 || $holds_waiting > 0 || $total > 0 || $patron_messages > 0 || $patron_note > 0 ) {
I suspect the $patron_messages > 0 might not be working. What do you think?
Cait, you're right. I think 'patron_messages > 0' needs to be $patron_messages->count Also $patron_note, having only one possible note, can be $patron_note instead of $patron_note > 0. -- You are receiving this mail because: You are watching all bug changes.