Koha-clms/Koha/REST
Nick Clemens 3e506d58ab
Bug 39408: Don't attempt to send a message if one is not generated
The routine to create the message can return nothing if there is no content,
we should handle this case and not attempt to send.

To test:
1 - Test plan from last patch
2 - Apply this patch
3 - POST to patron API again
4 - Success!

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c1fa513be9)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 91da4b4b38)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-11-10 15:21:27 +01:00
..
Plugin Bug 28907: Add Koha::REST::Plugin::Auth::PublicRoutes 2025-02-18 19:17:17 +01:00
V1 Bug 39408: Don't attempt to send a message if one is not generated 2025-11-10 15:21:27 +01:00
V1.pm Bug 38630: Make the REST API respect KohaOpacLanguage cookie 2025-09-29 09:34:42 +02:00