diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/taxonomy.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 13ce8b4f7..a358814f0 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -770,7 +770,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p foreach ($tids as $index => $tid) { $term = taxonomy_get_term($tid); $tree = taxonomy_get_tree($term->vid, $tid, -1, $depth); - $descendant_tids[] = array_merge($tid, array_map('_taxonomy_get_tid_from_term', $tree)); + $descendant_tids[] = array_merge(array($tid), array_map('_taxonomy_get_tid_from_term', $tree)); } if ($operator == 'or') { diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 13ce8b4f7..a358814f0 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -770,7 +770,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p foreach ($tids as $index => $tid) { $term = taxonomy_get_term($tid); $tree = taxonomy_get_tree($term->vid, $tid, -1, $depth); - $descendant_tids[] = array_merge($tid, array_map('_taxonomy_get_tid_from_term', $tree)); + $descendant_tids[] = array_merge(array($tid), array_map('_taxonomy_get_tid_from_term', $tree)); } if ($operator == 'or') { |