summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-03-01 21:13:46 +0000
committerDries Buytaert <dries@buytaert.net>2005-03-01 21:13:46 +0000
commitcc78d6c8cffc8ea76ad28b42b7890d15dc5a0490 (patch)
treed2a44bf5ea034e576c5a25cb55230f0c99e02688
parentc77153f19a2eb795e67a0b361aef859d9a2abe42 (diff)
downloadbrdo-cc78d6c8cffc8ea76ad28b42b7890d15dc5a0490.tar.gz
brdo-cc78d6c8cffc8ea76ad28b42b7890d15dc5a0490.tar.bz2
- Fixed PHP warnings.
-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 36f68efeb..f2a5663c9 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -93,7 +93,7 @@ function taxonomy_menu($may_cache) {
}
function taxonomy_form_vocabulary($edit = array()) {
- foreach (array_merge(node_list(), $edit['nodes']) as $type) {
+ foreach (node_list() as $type) {
$node_type = node_invoke($type, 'node_name');
$nodes[$type] = $node_type ? $node_type : $type;
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 36f68efeb..f2a5663c9 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -93,7 +93,7 @@ function taxonomy_menu($may_cache) {
}
function taxonomy_form_vocabulary($edit = array()) {
- foreach (array_merge(node_list(), $edit['nodes']) as $type) {
+ foreach (node_list() as $type) {
$node_type = node_invoke($type, 'node_name');
$nodes[$type] = $node_type ? $node_type : $type;
}