Although it may be relatively rare, there are some cases when the $node->taxonomy field is not defined at all (instead of being set to an empty array.)

I suggest the attached patch avoid E_NOTICEs.

Thank you.
Alexis Wilke

CommentFileSizeAuthor
tac_lite-6.x-count_taxonomy.patch471 bytesAlexisWilke

Comments

damienmckenna’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Thank you for your contribution to this module. Support for Drupal 6 ended a decade ago, so I'm closing out this issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.