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

--- Comment #290 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193229
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193229&action=edit
Bug 33260: (QA follow-up) Safely continue for non-templated notices

The 'letter_id'/'letter_code' field in the message queue table is a
NULLable foreign key as is indeed NULL in certain circustances. We need
to gracefully degrade when there isn't a template for the notice in
question.

Tihs patch uses the newly introduced 'template' accessor and when that
returns undefined we pass 'style' as an empty string.

We also use the 'is_html' method introduced in bug 35285 to set the html
flag.

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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