diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-28 15:22:36 -0400 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-28 15:22:36 -0400 |
commit | cba22e6b134a56213a76fa0cac416b22883a65b8 (patch) | |
tree | 3639f49724e32fbed9d1a2da0be75d3e61832ded /modules/taxonomy | |
parent | 43b125e883d188ae5181d0700cbae45670adef64 (diff) | |
download | brdo-cba22e6b134a56213a76fa0cac416b22883a65b8.tar.gz brdo-cba22e6b134a56213a76fa0cac416b22883a65b8.tar.bz2 |
Issue #1196108 by James_Stallings, foobar3000: Fixed taxonomy_get_children() return value doc is not complete.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index dc2847d37..2aa55a84c 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -879,7 +879,8 @@ function taxonomy_get_parents_all($tid) { * An optional vocabulary ID to restrict the child search. * * @return - * An array of term objects which are the children of the term $tid. + * An array of term objects that are the children of the term $tid, or an + * empty array when no children exist. */ function taxonomy_get_children($tid, $vid = 0) { $children = &drupal_static(__FUNCTION__, array()); |