diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index a65b5ed03..aad320b33 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -130,7 +130,7 @@ class Project < ActiveRecord::Base end def identifier_frozen? - errors[:identifier].nil? && !(new_record? || identifier.blank?) + errors[:identifier].blank? && !(new_record? || identifier.blank?) end # returns latest created projects |