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 Deprecation: currentSlug is null #218

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Fix Deprecation: currentSlug is null #218

merged 1 commit into from
Dec 13, 2021

Conversation

phh
Copy link
Contributor

@phh phh commented Dec 13, 2021

Check for slug before checking if slugIsBasedOnTitle()

Fixes https://github.com/spatie/laravel-sluggable/issues/217

@freekmurze freekmurze merged commit 0f5606b into spatie:main Dec 13, 2021
@freekmurze
Copy link
Member

Thanks!

@phh phh deleted the patch-1 branch December 13, 2021 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants