Fix rule in drools file, too

This commit is contained in:
Thierry Göckel 2020-11-03 20:48:23 +01:00
parent 02052fbb6a
commit c285c384ce

View File

@ -129,7 +129,7 @@ rule "10: Redact Authors and Addresses in Reference Table if it is a Vertebrate
rule "11: Redact sponsor company"
when
Section(text.toLowerCase().contains("batches produced at"))
Section(searchText.toLowerCase().contains("batches produced at"))
then
section.redactIfPrecededBy("batches produced at", "sponsor", 11, "Redacted because it represents a sponsor company", "Reg (EC) No 1107/2009 Art. 63 (2g)");
end