about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-06-06 23:44:48 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-06 16:44:48 +0200
commite34c5a350321c6c1997bdcc15fbd85cfb521f51b (patch)
tree7ea41b156fd706c3059d573b6c4b902be1558694 /app/services
parent004672aa6c482b212e36b9e794d107be456a11da (diff)
Fix 500 errors on searching invalid URLs (#3613)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/fetch_remote_resource_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/fetch_remote_resource_service.rb b/app/services/fetch_remote_resource_service.rb
index a0c270673..5dfa3a0ff 100644
--- a/app/services/fetch_remote_resource_service.rb
+++ b/app/services/fetch_remote_resource_service.rb
@@ -5,7 +5,7 @@ class FetchRemoteResourceService < BaseService
 
   def call(url)
     @url = url
-    process_url unless atom_url.nil?
+    process_url unless fetched_atom_feed.nil?
   end
 
   private