Commit cc78d6c8 authored by Dries's avatar Dries
Browse files

- Fixed PHP warnings.

parent c77153f1
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment