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

Check if the array key is set before trying to trim it #41

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Check if the array key is set before trying to trim it #41

merged 2 commits into from
Jun 13, 2024

Conversation

caendesilva
Copy link
Contributor

Fixes "undefined array key" warning when a Markdown file does only have front matter and no body. This will also fix hydephp/develop#1705.

Fixes "undefined array key" warning when a Markdown file does only have front matter and no body. This will also fix hydephp/develop#1705.
@sebastiandedeyne sebastiandedeyne merged commit cbe67e1 into spatie:main Jun 13, 2024
20 checks passed
@sebastiandedeyne
Copy link
Member

Thanks!

@caendesilva
Copy link
Contributor Author

Thanks!

No problem, thanks for the speedy merge!

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.

Undefined array key exception when creating Markdown pages with only front matter and no Markdown
2 participants