Add missing break. props nickohrn. fixes #11037

git-svn-id: http://svn.automattic.com/wordpress/trunk@12146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2009-11-05 20:02:18 +00:00
parent c5fd618f70
commit 7b40dadd8d

View File

@ -2062,6 +2062,7 @@ class WP_Query {
break;
case 'comment_count':
$orderby = "$wpdb->posts.comment_count";
break;
default:
$orderby = "$wpdb->posts.post_" . $orderby;
}