If $depth is for "Internal use only" then why is it in the middle of the parameter list? If we're not supposed to use it, we shouldn't have to care about its default value either.

CommentFileSizeAuthor
taxonomy_get_tree-depth.patch2.7 KBJohn Morahan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

Good idea. I can confirm this patch also updates all occurences of taxonomy_get_tree() in core where needed.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Much better.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

catch’s picture

Status: Fixed » Needs work

This probably deserves a mention in http://drupal.org/update/modules

Xano’s picture

Will do.

//Edit: done!

swentel’s picture

Status: Needs work » Fixed

Marking as fixed then :)

Status: Fixed » Closed (fixed)

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