summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2011-11-22 20:37:48 -0500
committerDries <dries@buytaert.net>2011-11-22 20:37:48 -0500
commitabd3e6ef31e8fbb8e9376cf009506409331a18e8 (patch)
tree1aee1882808f931ee5d60a8111c773e79a0b6ead /modules/taxonomy
parentac2747336afab9b4812ef1550235acf86782d0c6 (diff)
downloadbrdo-abd3e6ef31e8fbb8e9376cf009506409331a18e8.tar.gz
brdo-abd3e6ef31e8fbb8e9376cf009506409331a18e8.tar.bz2
- Patch #1196112 by rocket_nova: taxonomy_get_parents() return value documentation isn't complete.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index df047e707..379de71c7 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -863,7 +863,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());