summaryrefslogtreecommitdiffstats
path: root/app/models/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb2
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