From cc78d6c8cffc8ea76ad28b42b7890d15dc5a0490 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 1 Mar 2005 21:13:46 +0000
Subject: [PATCH] - Fixed PHP warnings.

---
 modules/taxonomy.module          | 2 +-
 modules/taxonomy/taxonomy.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 36f68efeba56..f2a5663c974b 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 36f68efeba56..f2a5663c974b 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;
   }
-- 
GitLab