? 104047.node.preview.pwolanin.patch ? 108579.user.not.found.patch ? 51153.block.empty.title.patch ? 82764.node.not.found.patch ? diff ? files ? sites/1.am.103583-head ? sites/1.am.augustin ? sites/1.am.head-drupal Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.774 diff -u -p -r1.774 node.module --- modules/node/node.module 11 Jan 2007 08:51:31 -0000 1.774 +++ modules/node/node.module 12 Jan 2007 05:42:43 -0000 @@ -1187,6 +1187,12 @@ function node_menu($may_cache) { 'weight' => 2, 'type' => MENU_LOCAL_TASK); } + else { // The node does not exist. + $items[] = array('path' => 'node/'. arg(1), 'title' => t('View'), + 'callback' => 'drupal_not_found', + 'type' => MENU_CALLBACK, + 'access' => user_access('access content')); + } } // Content type configuration.