Browse Source

Fixed error saving events

development
Godwin 7 years ago
committed by GitHub
parent
commit
c2abfd8652
  1. 2
      app/controllers/conference_administration_controller.rb

2
app/controllers/conference_administration_controller.rb

@ -1707,7 +1707,7 @@ class ConferenceAdministrationController < ApplicationController
end end
(params[:title] || {}).each do |locale, value| (params[:title] || {}).each do |locale, value|
event.set_column_for_locale(:title, locale, html_value(value), current_user.id) if value != event._title(locale) && view_context.strip.present? event.set_column_for_locale(:title, locale, html_value(value), current_user.id) if value != event._title(locale) && value.strip.present?
end end
event.save event.save

Loading…
Cancel
Save