mirror of
https://github.com/ditkrg/workflower.git
synced 2026-01-22 22:26:40 +00:00
commit
5ccf764589
@ -42,7 +42,7 @@ module Workflower
|
||||
end
|
||||
|
||||
def condition_is_met?(calling_model)
|
||||
if @condition_type == "expression"
|
||||
if @condition_type == "expression" && @condition.present?
|
||||
|
||||
evaluation_phrase = @condition.split(" ").map do |item|
|
||||
if ["||", "&&", "(", ")", "=="].include?(item)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user