Skip to content

add null check for $post to fix comment_count warning#77

Open
cagrimmett wants to merge 1 commit intomanton:masterfrom
cagrimmett:fix/comment_count_warning
Open

add null check for $post to fix comment_count warning#77
cagrimmett wants to merge 1 commit intomanton:masterfrom
cagrimmett:fix/comment_count_warning

Conversation

@cagrimmett
Copy link

Fixes #76

Adds a null check on $post to fix a warning about accessing a property on a null post object.

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.

PHP warning about comment_count on null

1 participant