Index: modules/node/node.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v
retrieving revision 1.31
diff -u -p -r1.31 node.pages.inc
--- modules/node/node.pages.inc	10 Jul 2008 11:12:02 -0000	1.31
+++ modules/node/node.pages.inc	12 Aug 2008 08:46:19 -0000
@@ -18,6 +18,11 @@ function node_page_edit($node) {
 function node_add_page() {
   $item = menu_get_item();
   $content = system_admin_menu_block($item);
+  // Bypass the node/add listing if only one content type is available.
+  if (count($content) == 1) {
+    $item = array_shift($content);
+    drupal_goto($item['href']);
+  }
   return theme('node_add_list', $content);
 }
 
