summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-09-03 01:48:06 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-09-03 01:48:06 +0000
commit738dd5f353f9320d7cfc3d4febe238f8f434f017 (patch)
tree399733764d5e528d1afb1b870443e10fb1b0670b
parent9d517a73405620ac44a955dc4aa5047b7d5f83ec (diff)
downloadbrdo-738dd5f353f9320d7cfc3d4febe238f8f434f017.tar.gz
brdo-738dd5f353f9320d7cfc3d4febe238f8f434f017.tar.bz2
#9292: Minor PHP5 fix.
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
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') {