Reverse logic.

git-svn-id: https://develop.svn.wordpress.org/trunk@4915 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-02-22 15:30:47 +00:00
parent a50ff92010
commit 819e6e9c4f
6 changed files with 6 additions and 3 deletions

View File

@@ -497,9 +497,8 @@ class wp_xmlrpc_server extends IXR_Server {
// If no parent_id was provided make it empty
// so that it will be a top level page (no parent).
if(isset($category["parent_id"])) {
if ( !isset($category["parent_id"]) )
$category["parent_id"] = "";
}
// If no description was provided make it empty.
if(empty($category["description"])) {