Only show the column preferences if we have columns. See #13393 props duck_.

git-svn-id: https://develop.svn.wordpress.org/trunk@14635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-05-14 15:49:20 +00:00
parent 1302562718
commit f73384ffe8
1 changed files with 1 additions and 1 deletions

View File

@ -3610,7 +3610,7 @@ function screen_meta($screen) {
<br class="clear" />
</div>
<?php endif;
if ( isset($column_screens) ) : ?>
if ( ! empty($column_screens) ) : ?>
<h5><?php echo apply_filters('columns_prefs_header', $default_text); ?></h5>
<div class="metabox-prefs">
<?php manage_columns_prefs($screen); ?>