diff --git a/app/models/contact.rb b/app/models/contact.rb index 824cc25dc..518b11e89 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -45,7 +45,7 @@ class Contact < ActiveRecord::Base end def repopulate_cache! - if RedisCache.configured? + if RedisCache.configured? && self.user.present? cache = RedisCache.new(self.user) cache.repopulate! end