From bf06ae7da943c59db8afd9ba66affb9c98c490d7 Mon Sep 17 00:00:00 2001 From: Dries <dries@buytaert.net> Date: Tue, 22 Nov 2011 20:37:29 -0500 Subject: [PATCH] - Patch #1196112 by rocket_nova: taxonomy_get_parents() return value documentation isn't complete. --- core/modules/taxonomy/taxonomy.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index eb20c26590fd..9a10356e38ed 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -859,7 +859,8 @@ function taxonomy_vocabulary_get_names() { * A taxonomy term ID. * * @return - * An array of term objects which are the parents of the term $tid. + * An array of term objects which are the parents of the term $tid, or an + * empty array if parents are not found. */ function taxonomy_get_parents($tid) { $parents = &drupal_static(__FUNCTION__, array()); -- GitLab