From c2abfd86526f34cbed0d01a4b101d9349b9d3efd Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 21 Aug 2017 11:36:02 -0700 Subject: [PATCH] Fixed error saving events --- app/controllers/conference_administration_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/conference_administration_controller.rb b/app/controllers/conference_administration_controller.rb index 3801034..1d2fd2b 100644 --- a/app/controllers/conference_administration_controller.rb +++ b/app/controllers/conference_administration_controller.rb @@ -1707,7 +1707,7 @@ class ConferenceAdministrationController < ApplicationController end (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 event.save