diff --git a/app/models/communication/website/with_git_repository.rb b/app/models/communication/website/with_git_repository.rb
index c5a12ff05c84b9c14cd64d969b7d96b151be765f..c118eac330d477593ea009a4272d9ad15c678efe 100644
--- a/app/models/communication/website/with_git_repository.rb
+++ b/app/models/communication/website/with_git_repository.rb
@@ -16,7 +16,7 @@ module Communication::Website::WithGitRepository
   # Synchronisation optimale d'objet indirect
   def sync_indirect_object_with_git(indirect_object)
     return unless git_repository.valid?
-    indirect_object.direct_sources.each do |direct_source|
+    indirect_object.direct_sources.where(website_id: self.id).each do |direct_source|
       add_direct_source_to_sync(direct_source)
     end
     git_repository.sync!