Index: translation.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/translation/translation.module,v
retrieving revision 1.12
diff -u -p -r1.12 translation.module
--- translation.module	3 Oct 2010 16:36:14 -0000	1.12
+++ translation.module	5 Feb 2011 22:04:10 -0000
@@ -124,9 +124,9 @@ function translation_menu() {
 
   // Create tabs for all possible entity types.
   foreach (entity_get_info() as $entity_type => $info) {
-    // Menu is rebuilt while determining base paths so we might not have them
+    // Menu is rebuilt while determining base paths and callback so we might not have them
     // available yet.
-    if (isset($info['translation']['translation']['base path']) && translation_enabled($entity_type)) {
+    if (isset($info['translation']['translation']['base path']) && isset($info['translation']['translation']['access callback']) && translation_enabled($entity_type)) {
       // Extract informations from the bundle description.
       $path = $info['translation']['translation']['base path'];
       $keys = array('theme callback', 'theme arguments', 'access callback', 'access arguments', 'load arguments');
