[Koha-bugs] [Bug 20518] Don't show "Messages" header and link on patron details if there are no messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 6 17:10:05 CEST 2018


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

Maksim Sen <maksim.sen at inlibro.com> changed:

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

--- Comment #2 from Maksim Sen <maksim.sen at inlibro.com> ---
Created attachment 73787
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73787&action=edit
Bug 20518 - Don't show "Messages" header and link on patron details if there
are no messages

This patch modifies the patron detail page so that the "Messages" header
is not displayed if there are no messages.

Unrelated: A minor change was made to moremember.pl to quiet an error in
the log, "Use of uninitialized value $print in string eq at
members/moremember.pl line 219."

To test, apply the patch and open the detail page for a patron who has
no messages. There should be no "Messages" header or "add message" link.

Add a message to the patron's account. The message should appear, along
with the "Messages" header and "add message" link.

The error logs should show no errors.

Signed-off-by: Maksim Sen <maksim.sen at inlibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list