[Koha-bugs] [Bug 14206] notices using non email templates can't be deleted from the staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 20 22:42:52 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14206

--- Comment #13 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 39342
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39342
Bug 14206 Adds delete function for non email templates

Review of attachment 39342:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14206&attachment=39342)
-----------------------------------------------------------------

::: C4/Letters.pm
@@ +227,4 @@
>          SELECT *
>          FROM letter 
>          WHERE module=? AND code=? AND (branchcode = ? OR branchcode = '')
> +        AND ( message_transport_type = ? OR message_transport_type IN (SELECT message_transport_type FROM message_transport_types))

"message_transport_type IN (SELECT message_transport_type FROM
message_transport_types)" is always true, isn't it?! I don't think this is the
patch you want.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list