--- feedapi_mapper.module 17 Mar 2008 16:24:16 -0000 1.1.2.7 +++ feedapi_mapper.module 2 Sep 2008 23:38:59 -0000 @@ -21,7 +21,7 @@ if (!$may_cache) { if (arg(0) == 'node' && is_numeric(arg(1))) { $node = node_load(arg(1)); - if (feedapi_enabled($node->type)) { + if (feedapi_enabled_type($node->type)) { global $user; $items[] = array('path' => 'node/'. $node->nid .'/map', 'title' => t('Map'), @@ -34,7 +34,7 @@ } else if (arg(0) == 'admin' && arg(1) == 'content' && arg(2) == 'types') { $node_type = arg(3) ? str_replace('-', '_', arg(3)) : NULL; - if ($node_type && feedapi_enabled($node_type)) { + if ($node_type && feedapi_enabled_type($node_type)) { $items[] = array( 'path' => 'admin/content/types/'. str_replace('_', '-', $node_type) .'/edit', 'title' => t('Edit'),