I encountered an error with a node which had no taxonomy associations to any of the terms in the configured vocabularies. For some reason, Drupal 5.7 gives an empty $term in this case in your foreach of $node->taxonomy in _tac_lite_get_terms(). The attached patch makes sure to only add the $term if it is indeed something positive (not an empty string as I experience).

Patch created from a local SVN copy but should apply just fine to the 5.x version.

CommentFileSizeAuthor
tac_lite_error.patch497 bytesgábor hojtsy

Comments

Dave Cohen’s picture

Status: Needs review » Fixed

Gabor,

Looks like you're using HEAD. Use DRUPAL-5 branch instead. There is already a fix for that and other issues. Open this bug back up if I'm wrong about that.

It's hard these days to figure out which branch of any given project to use.

-Dave

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.