Issue #1715326 by kid_icarus, oriol_e9g, dsdeiz: Fixed taxonomy_get_tree() typo on comments...
parent
5271022aa7
commit
02874564db
|
@ -1000,8 +1000,8 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL, $load_entities
|
||||||
$parents = &drupal_static(__FUNCTION__ . ':parents', array());
|
$parents = &drupal_static(__FUNCTION__ . ':parents', array());
|
||||||
$terms = &drupal_static(__FUNCTION__ . ':terms', array());
|
$terms = &drupal_static(__FUNCTION__ . ':terms', array());
|
||||||
|
|
||||||
// We cache trees, so it's not CPU-intensive to call get_tree() on a term
|
// We cache trees, so it's not CPU-intensive to call taxonomy_get_tree() on a
|
||||||
// and its children, too.
|
// term and its children, too.
|
||||||
if (!isset($children[$vid])) {
|
if (!isset($children[$vid])) {
|
||||||
$children[$vid] = array();
|
$children[$vid] = array();
|
||||||
$parents[$vid] = array();
|
$parents[$vid] = array();
|
||||||
|
|
Loading…
Reference in New Issue