Browse Source

Fixed error on Schedule page

development
Godwin 8 years ago
committed by GitHub
parent
commit
6b07685e47
  1. 2
      app/controllers/application_controller.rb

2
app/controllers/application_controller.rb

@ -547,7 +547,7 @@ class ApplicationController < LinguaFrancaApplicationController
end
last_event = time
end
@schedule[day][:num_locations] = data[:locations].size
@schedule[day][:num_locations] = (data[:locations] || []).size
end
@schedule.deep_dup.each do | day, data |

Loading…
Cancel
Save