Skip to content

Commit

Permalink
fix #3090 (#3092)
Browse files Browse the repository at this point in the history
Co-authored-by: David Gray <david@workrest.co>
  • Loading branch information
2 people authored and patinthehat committed Nov 22, 2022
1 parent 425b80a commit 5ebc396
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 5ebc396

Please sign in to comment.