Bug 13504: Remove the '----' marker for CHECKIN and CHECKOUT notices
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 31 Dec 2014 12:23:06 +0000 (13:23 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 5 Jan 2015 23:08:04 +0000 (12:08 +1300)
commitf9f92fd7133b2dc4f8eebbe9c425da6130014ad4
treef0205092d72aa48e43641c91270edf695710d9dd
parent981bdaf8d6ea33377ded5dfacb181a3ad2fe523f
Bug 13504: Remove the '----' marker for CHECKIN and CHECKOUT notices

If only 1 item exist in the message, the marker is not removed.
This marker is removed by render_metadata, but this method is only
called on appending.

Test plan:
1/ Enable the CHECKIN and/or CHECKOUT notices for a patron
2/ check and item in or out and verify that the marker is no longer
displayed in the generated notices.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 936a4f22288ff013a2e4269a934df7fa900c7336)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Message.pm