diff --git a/assets/js/backend_calendar_table_view.js b/assets/js/backend_calendar_table_view.js index f1bd75e5..6fdbadfa 100755 --- a/assets/js/backend_calendar_table_view.js +++ b/assets/js/backend_calendar_table_view.js @@ -847,7 +847,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; function createNonWorkingHours($calendar, provider) { var workingPlan = JSON.parse(provider.settings.working_plan); - var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions); + var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions) || {}; var view = $calendar.fullCalendar('getView'); var start = view.start.clone(); var end = view.end.clone();