Index: includes/export.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ctools/includes/export.inc,v
retrieving revision 1.19.2.19
diff -u -p -r1.19.2.19 export.inc
--- includes/export.inc	21 Jul 2010 15:32:48 -0000	1.19.2.19
+++ includes/export.inc	23 Jul 2010 03:45:53 -0000
@@ -337,7 +337,7 @@ function ctools_export_load_object($tabl
   $alias_count = 1;
   if (!empty($schema['join'])) {
     foreach ($schema['join'] as $join_key => $join) {
-      $join_schema = ctools_export_get_schema($join['table']);
+      $join_schema = ctools_export_get_schema($join['table'], TRUE);
       if (!empty($join_schema)) {
         $query .= ' INNER JOIN {' . $join['table'] . '} t__' . $alias_count . ' ON t__0.' . $join['left_key'] . ' = ' . 't__' . $alias_count . '.' . $join['right_key'];
         $alias_count++;
@@ -743,12 +743,12 @@ function ctools_export_object($table, $o
  * This looks for data the export subsystem needs and applies defaults so
  * that it's easily available.
  */
-function ctools_export_get_schema($table) {
+function ctools_export_get_schema($table, $as_join_table = FALSE) {
   $cache = &ctools_static(__FUNCTION__);
   if (empty($cache[$table])) {
     $schema = drupal_get_schema($table);
 
-    if (!isset($schema['export'])) {
+    if (!isset($schema['export']) && !$as_join_table) {
       return array();
     }
 
