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

Martin Renvoize (ashimema) <martin.renvo...@openfifth.co.uk> changed:

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

--- Comment #6 from Martin Renvoize (ashimema) 
<martin.renvo...@openfifth.co.uk> ---
Created attachment 182166
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182166&action=edit
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.hernan...@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvo...@openfifth.co.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to