? drupal-breadcrumb-on-40x-pages-525314-8.patch
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1271
diff -u -p -r1.1271 common.inc
--- includes/common.inc	10 Dec 2010 16:44:53 -0000	1.1271
+++ includes/common.inc	10 Dec 2010 21:00:00 -0000
@@ -2457,6 +2457,8 @@ function drupal_deliver_html_page($page_
           // Standard 404 handler.
           drupal_set_title(t('Page not found'));
           $return = t('The requested page could not be found.');
+          $front = l(t('Home'), '<front>');
+          drupal_set_breadcrumb(array($front));
         }
 
         drupal_set_page_content($return);
@@ -2486,6 +2488,8 @@ function drupal_deliver_html_page($page_
           // Standard 403 handler.
           drupal_set_title(t('Access denied'));
           $return = t('You are not authorized to access this page.');
+          $front = l(t('Home'), '<front>');
+          drupal_set_breadcrumb(array($front));
         }
 
         print drupal_render_page($return);
