Skip to content

Updated getTermList to stop Fatal Error#25

Open
markwillis82 wants to merge 1 commit intocraftsmancoding:masterfrom
markwillis82:patch-1
Open

Updated getTermList to stop Fatal Error#25
markwillis82 wants to merge 1 commit intocraftsmancoding:masterfrom
markwillis82:patch-1

Conversation

@markwillis82
Copy link
Copy Markdown

There is an edge case where if a resource has a term linked and then the page is removed (but not the link) this look causes a fatal error due to $t->Page being null.

I've just added a sanity check to continue quietly if this happens

There is an edge case where if a resource has a term linked and then the page is removed (but not the link) this look causes a fatal error due to `$t->Page` being null.

I've just added a sanity check to continue quietly if this happens
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.

1 participant