Skip to content

Commit

Permalink
fix #3090 (#3092)
Browse files Browse the repository at this point in the history
Co-authored-by: David Gray <[email protected]>
  • Loading branch information
SlyDave and SlyDave authored Nov 9, 2022
1 parent b00f371 commit 243047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediaCollections/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function syncMediaPath(Media $media): void

$oldMedia = (clone $media)->fill($media->getOriginal());

if ($oldMedia->getPath() === $media->getPath()) {
if ($factory->getPath($oldMedia) === $factory->getPath($media)) {
return;
}

Expand Down

0 comments on commit 243047c

Please sign in to comment.