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

--- Comment #56 from Jan Kissig <[email protected]> ---
Created attachment 206931
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206931&action=edit
Bug 40294: (QA follow-up): Fix is_notice_mandatory in membership_expiry.pl

The flag is_notice_mandatory was determined using grep with the patrons
category code against a list of patron categories which have
enforce_expiry_notice set to YES.
As grep expects the first param to be a regular expression but was given a
simple string (f.e. 'S') it returned the count of patron categories which have
enforce_expiry_notice set to YES.
So when one patron category had a mandatory expiry notice set, all messages
where flagged as mandatory.
This patch wraps the category code in a regular expression  so that grep will
only return the number of exact matches.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to