Commit 020c7614 authored by webchick's avatar webchick

Issue #1196108 by James_Stallings, foobar3000: Fixed taxonomy_get_children()...

Issue #1196108 by James_Stallings, foobar3000: Fixed taxonomy_get_children() return value doc is not complete.
parent 665e9723
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment