diff --git a/wp-admin/post.php b/wp-admin/post.php index 91b2747c9c..5e7cb15123 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -248,6 +248,7 @@ switch($action) { } $post_ID = $HTTP_POST_VARS['post_ID']; $post_categories = $HTTP_POST_VARS['post_category']; + if (!$post_categories) $post_categories[] = 1; $post_autobr = intval($HTTP_POST_VARS['post_autobr']); $content = balanceTags($HTTP_POST_VARS['content']); $content = format_to_post($content);