Attached one-line patch fixes what I am sure is a simple typographical error:

--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1061,7 +1061,7 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL
  * Provides a case-insensitive and trimmed mapping, to maximize the
  * likelihood of a successful match.
  *
- * @param name
+ * @param $name
  *   Name of the term to search for.
  *
  * @return

Also fixes some trailing whitespace errors courtesty of drupal_mode.el.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
489 bytes

Yes, this needs to be done.

Attached is a backport of the patch to Drupal 7. The param still needs the $ in D7, but there is no trailing whitespace to remove in D7.

pillarsdotnet’s picture

Issue tags: +Needs backport to D7

Tagging.

Note that the "Needs backport" tag should remain even after the backport is completed. See Special issue tags.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x and 7.x. Thanks!

For future reference, I'm fine with patches like these being all combined into one. It makes reviewing and committing easier.

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