Fix for Bug 7024 - Can't delete other library's messages with AllowAllMessageDeletion on
authorOwen Leonard <oleonard@myacpl.org>
Thu, 13 Oct 2011 14:02:38 +0000 (10:02 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 15 Oct 2011 06:56:05 +0000 (19:56 +1300)
commit41928b088075a5da9bffb19edf906e94aa84466f
tree4a38b2ed02da4f52cc4e270a8854afa19e599cd3
parentbfaf07b2780ed033677683ef40ce04e55d7c2b3d
Fix for Bug 7024 - Can't delete other library's messages with AllowAllMessageDeletion on

The display of messages "to the patron" on the checkout screen
lacked the same logic controlling messages "to other librarians,"
affecting conditions under which the [Delete] link would be shown.
This match makes the two categories consistent with each other:
A delete link will be shown if the logged in branch matches the
branch where the message was set OR if AllowAllMessageDeletion
is turned on.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt