Fixed error on Schedule page
This commit is contained in:
parent
3940a0b0cc
commit
6b07685e47
@ -547,7 +547,7 @@ class ApplicationController < LinguaFrancaApplicationController
|
|||||||
end
|
end
|
||||||
last_event = time
|
last_event = time
|
||||||
end
|
end
|
||||||
@schedule[day][:num_locations] = data[:locations].size
|
@schedule[day][:num_locations] = (data[:locations] || []).size
|
||||||
end
|
end
|
||||||
|
|
||||||
@schedule.deep_dup.each do | day, data |
|
@schedule.deep_dup.each do | day, data |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user