No sort if no results. Props mByte in wp-testers list.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-11-29 08:18:34 +00:00
parent cc238cab45
commit bd8ca8ff8e
1 changed files with 2 additions and 1 deletions

View File

@ -1025,7 +1025,8 @@ function meta_form() {
GROUP BY meta_key
ORDER BY meta_id DESC
LIMIT $limit" );
natcasesort( $keys );
if ( $keys )
natcasesort($keys);
?>
<h3><?php _e( 'Add a new custom field:' ) ?></h3>
<table id="newmeta" cellspacing="3" cellpadding="3">