Fixed error on Schedule page
This commit is contained in:
		
							parent
							
								
									3940a0b0cc
								
							
						
					
					
						commit
						6b07685e47
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user