Fixed bug where no triggers was evaluating to true

This commit is contained in:
Ziver Koc 2017-03-16 17:00:52 +01:00
parent 18b15569d6
commit 09651491e3

View file

@ -62,6 +62,8 @@ public class TriggerFlow extends DBBean {
* Note: this method will not execute any actionList
*/
public boolean evaluate(){
if (triggerList.isEmpty())
return false;
for(Trigger trigger : triggerList){
if (!trigger.evaluate())
return false;