From d4962d20b3155fe81a72e70eb7dd85936c105bd7 Mon Sep 17 00:00:00 2001 From: iCross Date: Fri, 24 May 2013 22:55:16 +0800 Subject: [PATCH] fix --- vendor/built_in_modules/survey/app/models/survey.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/survey/app/models/survey.rb b/vendor/built_in_modules/survey/app/models/survey.rb index 13339c5a4..51abfd36b 100644 --- a/vendor/built_in_modules/survey/app/models/survey.rb +++ b/vendor/built_in_modules/survey/app/models/survey.rb @@ -43,7 +43,7 @@ class Survey def time_range r = "#{self.postdate.to_date}" - r += "- #{self.deadline.to_date}" if self.deadline + r += "- #{self.deadline.to_date}" unless self.deadline.nil? r end