Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/includes/common.inc,v
retrieving revision 1.1.2.31
diff -u -r1.1.2.31 common.inc
--- includes/common.inc	29 Jul 2008 07:32:11 -0000	1.1.2.31
+++ includes/common.inc	13 Sep 2008 09:43:29 -0000
@@ -833,6 +833,7 @@
     $output .= '<tr>';
     $output .= '<th class="title">' . $type_info['title'] . '</th>';
     $output .= '<th class="operation operation">' . t('Operation') . '</th>';
+    $output .= '</tr>';
     $output .= '</thead>';
     $output .= '<tbody>';
 
@@ -843,6 +844,9 @@
       }
       $output .= theme('panels_common_context_item_row', $type, $form[$type][$id], $id, $count++);
     }
+    if (empty($count)) {
+      $output .= '<tr id="' . $type . '-row-' . $count . '" class="' . $type . '-row odd"><td colspan="2" >' . t('No items available.') . '</td></tr>';
+    }
 
     $output .= '</tbody>';
     $output .= '</table>';
