[Bps-public-commit] RT-Extension-MandatoryOnTransition branch, simplifyCondition, created. 0.18-1-gb0e439d
Michel Rodriguez
michel at bestpractical.com
Fri Apr 5 13:11:42 EDT 2019
The branch, simplifyCondition has been created
at b0e439dfc7f880f002f2a14b249281542017f2e8 (commit)
- Log -----------------------------------------------------------------
commit b0e439dfc7f880f002f2a14b249281542017f2e8
Author: michel <michel at bestpractical.com>
Date: Fri Apr 5 14:29:11 2019 +0200
simplified condition matching @CORE_SUPPORTED fields
diff --git a/lib/RT/Extension/MandatoryOnTransition.pm b/lib/RT/Extension/MandatoryOnTransition.pm
index 97bf52c..53209f2 100644
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@ -360,7 +360,7 @@ sub RequiredFields {
my %core_supported = map { $_ => 1 } @CORE_SUPPORTED;
- my @core = grep { !/^CF\./i && $core_supported{$_} } @$required;
+ my @core = grep { $core_supported{$_} } @$required;
my @cfs = map { /^CF\.(.+)$/i; $1; }
grep { /^CF\./i } @$required;
my @roles = map { /^(:?[CustomRole\.]?.+)$/i; $1; }
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list