Skip to content

Commit

Permalink
Merge pull request #262 from bikebike/development
Browse files Browse the repository at this point in the history
Fixed error saving events
  • Loading branch information
G0dwin authored Aug 21, 2017
2 parents f6e71c0 + c2abfd8 commit bf6b571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/conference_administration_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@ def admin_update_events
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
Expand Down

0 comments on commit bf6b571

Please sign in to comment.