Commit ef2a54b7 authored by webchick's avatar webchick

Issue #2228903 by anthonylindsay | alexpott: Taxonomy_term_load_children...

Issue #2228903 by anthonylindsay | alexpott: Taxonomy_term_load_children claims to restrict by vid but this is not possible.
parent 48ae9707
......@@ -438,14 +438,12 @@ function taxonomy_term_load_parents_all($tid) {
*
* @param $tid
* A taxonomy term ID.
* @param $vid
* An optional vocabulary ID to restrict the child search.
*
* @return
* An array of term objects that are the children of the term $tid, or an
* empty array when no children exist.
*/
function taxonomy_term_load_children($tid, $vid = NULL) {
function taxonomy_term_load_children($tid) {
$children = &drupal_static(__FUNCTION__, array());
if ($tid && !isset($children[$tid])) {
......
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