diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-07-17 20:57:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-07-17 20:57:43 +0000 |
commit | 2895357de0af2ea92bc758b20f4e305902e7b02f (patch) | |
tree | 0a7bb76a39496368386762dff42c64f8b2eb9182 /modules/taxonomy/taxonomy.module | |
parent | 28c72cd89d66ad4d8c2a5d19a620a8d3914e356d (diff) | |
download | brdo-2895357de0af2ea92bc758b20f4e305902e7b02f.tar.gz brdo-2895357de0af2ea92bc758b20f4e305902e7b02f.tar.bz2 |
- Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
TODO: update migration page in handbook.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |