From cb82957c00af4ea01f54bdecb978daae7004a9ee Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Wed, 21 Oct 2009 20:09:27 +0000 Subject: [PATCH] Replace _ with - in node names. --- feeds.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds.pages.inc b/feeds.pages.inc index b3d29331..99116752 100644 --- a/feeds.pages.inc +++ b/feeds.pages.inc @@ -20,7 +20,7 @@ function feeds_page() { $title = $importer->config['name']; } elseif (user_access('create '. $importer->config['content_type'] .' content')) { - $link = 'node/add/'. $importer->config['content_type']; + $link = 'node/add/'. str_replace('_', '-', $importer->config['content_type']); $title = t('!type (!config)', array('!type' => node_get_types('name', $importer->config['content_type']), '!config' => $importer->config['name'])); } $rows[] = array( -- GitLab