Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #3090 syncMediaPath incorrectly comparing paths #3092

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

SlyDave
Copy link
Contributor

@SlyDave SlyDave commented Nov 9, 2022

fixes syncMediaPath() in Filesystem which was using getPath() on the media object which returns the filename as well as the file path, rather than using getPath() from the PathGeneratorFactory which only returns the path.

We can blame SPL for the poorly named getPath :)

@freekmurze freekmurze merged commit 243047c into spatie:main Nov 9, 2022
@freekmurze
Copy link
Member

Thanks!

patinthehat pushed a commit that referenced this pull request Nov 22, 2022
Co-authored-by: David Gray <david@workrest.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants