If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-12-02 08:09:58 +00:00
parent 3e539e8448
commit be305cb6f9
1 changed files with 4 additions and 1 deletions

View File

@ -234,7 +234,10 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated'
</form>
<?php $wp_list_table->inline_edit(); ?>
<?php
if ( $wp_list_table->has_items() )
$wp_list_table->inline_edit();
?>
<div id="ajax-response"></div>
<br class="clear" />