aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2017-06-28 09:54:15 +0200
committerRobert2017-06-28 09:54:15 +0200
commit41c9188a5964d21efaeace14e2d8c6e14ed9195e (patch)
tree3eec656f993ad19614af337da6441b61e74a40de
parent083d23585935139b5e87b99bf5cc2a79f4a53cca (diff)
downloadchouette-core-41c9188a5964d21efaeace14e2d8c6e14ed9195e.tar.bz2
Hotfix; Fixes: #3897@0.2h
-rw-r--r--app/models/calendar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/calendar.rb b/app/models/calendar.rb
index 2462501bc..47dc02c40 100644
--- a/app/models/calendar.rb
+++ b/app/models/calendar.rb
@@ -71,7 +71,7 @@ class Calendar < ActiveRecord::Base
def flatten_date_array attributes, key
date_int = %w(1 2 3).map {|e| attributes["#{key}(#{e}i)"].to_i }
- Calendar::CalendarDate.new(*date_int)
+ Calendar::DateValue.new(*date_int)
end
def periods_attributes=(attributes = {})