diff --git a/app/controllers/admin/feeds_controller.rb b/app/controllers/admin/feeds_controller.rb index fff3ca4..b075fa0 100644 --- a/app/controllers/admin/feeds_controller.rb +++ b/app/controllers/admin/feeds_controller.rb @@ -220,7 +220,7 @@ class Admin::FeedsController < OrbitAdminController other_site_feeds = SiteFeed.where(:remote_site_url=>/:\/\/#{::Regexp.escape(site_host)}/) other_site_feed = other_site_feeds.first site_feed.channel_title_translations = other_site_feed.channel_title_translations if other_site_feed - other_scheme = URI(other_site_feed.remote_site_url).scheme + other_scheme = URI(other_site_feed.remote_site_url).scheme rescue nil site_scheme = uri.scheme if (['http','https'] & [other_scheme, site_scheme]).count == 2 if site_scheme == 'http'