diff options
Diffstat (limited to 'app/models/workflow_permission.rb')
-rw-r--r-- | app/models/workflow_permission.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/workflow_permission.rb b/app/models/workflow_permission.rb index 6a451fd38..095d75b1c 100644 --- a/app/models/workflow_permission.rb +++ b/app/models/workflow_permission.rb @@ -17,6 +17,7 @@ class WorkflowPermission < WorkflowRule validates_inclusion_of :rule, :in => %w(readonly required) + validates_presence_of :old_status validate :validate_field_name # Returns the workflow permissions for the given trackers and roles |