Update follow_service.rb

This commit is contained in:
Connor Turland 2017-03-08 14:13:47 -05:00 committed by GitHub
parent 8483b62603
commit 962881a35d

View file

@ -3,7 +3,7 @@ class FollowService
class << self
def follow(entity, user, reason)
return unless is_tester(user)
return unless user && is_tester(user)
return unless should_auto_follow(entity, user, reason)