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 error for subpages: Attempt to read property "ID" on int #14

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

ouun
Copy link
Contributor

@ouun ouun commented Aug 4, 2023

get_ancestors() returns IDs here: https://github.com/Log1x/crumb/blob/master/src/Crumb.php#L89

This fixes an attempt to read property "ID" on int error.

`get_ancestors()` returns IDs here: https://github.com/Log1x/crumb/blob/master/src/Crumb.php#L89

This fixes an `attempt to read property "ID" on int` error.
@Log1x Log1x merged commit 52d99c7 into Log1x:master Aug 4, 2023
@Log1x
Copy link
Owner

Log1x commented Aug 4, 2023

ty! pushed a release

@ouun
Copy link
Contributor Author

ouun commented Aug 4, 2023

Fast. Veeery fast. Thanks.

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