From 2895357de0af2ea92bc758b20f4e305902e7b02f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Jul 2005 20:57:43 +0000 Subject: - Modified patch #25031 by chx: modified node_list() so one has both the module and its type. TODO: update migration page in handbook. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 17ad65295..cb60413ba 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -109,7 +109,7 @@ function taxonomy_menu($may_cache) { } function taxonomy_form_vocabulary($edit = array()) { - foreach (node_list() as $type) { + foreach (node_list() as $type => $module) { $node_type = node_invoke($type, 'node_name'); $nodes[$type] = $node_type ? $node_type : $type; } -- cgit v1.2.3