diff --git a/feeds_ui/feeds_ui.admin.inc b/feeds_ui/feeds_ui.admin.inc index 6a7e8bf6bbdbe68a4e4f4b001feeff690a302045..fa69c2b3c30987ec05f8c10ab67cc407d2e65d4c 100644 --- a/feeds_ui/feeds_ui.admin.inc +++ b/feeds_ui/feeds_ui.admin.inc @@ -683,11 +683,18 @@ function theme_feeds_ui_overview_form($variables) { } } } - $output = ''; - if (count($rows)) { - $output .= theme('table', array('header' => $form['#header'], 'rows' => $rows, 'attributes' => array('class' => array('feeds-admin-importers')))); + + $output = theme('table', array( + 'header' => $form['#header'], + 'rows' => $rows, + 'attributes' => array('class' => array('feeds-admin-importers')), + 'empty' => t('No importers available.'), + )); + + if (!empty($rows)) { + $output .= drupal_render_children($form); } - $output .= drupal_render_children($form); + return $output; }