Issue #1715326 by kid_icarus, oriol_e9g, dsdeiz: Fixed taxonomy_get_tree() typo on comments...

merge-requests/26/head
webchick 2012-08-19 14:40:06 +02:00
parent 5271022aa7
commit 02874564db
1 changed files with 2 additions and 2 deletions

View File

@ -1000,8 +1000,8 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL, $load_entities
$parents = &drupal_static(__FUNCTION__ . ':parents', array());
$terms = &drupal_static(__FUNCTION__ . ':terms', array());
// We cache trees, so it's not CPU-intensive to call get_tree() on a term
// and its children, too.
// We cache trees, so it's not CPU-intensive to call taxonomy_get_tree() on a
// term and its children, too.
if (!isset($children[$vid])) {
$children[$vid] = array();
$parents[$vid] = array();