Skip to content
Snippets Groups Projects
Commit ef2a54b7 authored by Angie Byron's avatar Angie Byron
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment