diff options
Diffstat (limited to 'modules/node/node.admin.inc')
-rw-r--r-- | modules/node/node.admin.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index 53a82d350..dd4202f2a 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -554,18 +554,11 @@ function node_admin_nodes() { } // Otherwise, use a simple table. else { - // Display an empty message like in the tableselect. - if (empty($options)) { - $row = array( - 'data' => t('No content available.'), - 'colspan' => count($header), - ); - $options = array($row); - } $form['nodes'] = array( '#theme' => 'table', '#header' => $header, '#rows' => $options, + '#empty' => t('No content available.'), ); } |