summaryrefslogtreecommitdiffstats
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-25 16:43:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-25 16:43:18 +0000
commit235238b5834da03dc11d511d7e57c79510a9d5da (patch)
tree05bcea67427f04d07a705ff9f17c6064357f38fe /app/models/project.rb
parent73500a349ba8c312312be67aa8cd4547a5717661 (diff)
downloadredmine-235238b5834da03dc11d511d7e57c79510a9d5da.tar.gz
redmine-235238b5834da03dc11d511d7e57c79510a9d5da.zip
Fixed that project identifier can always be updated (#11028).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9710 e93f8b46-1217-0410-a6f0-8f06a7374b81
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