Cast categoryId to string to be compliant. fixes #3662

git-svn-id: http://svn.automattic.com/wordpress/trunk@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-25 18:27:47 +00:00
parent 54cfb25317
commit 720df5dcf9
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ class wp_xmlrpc_server extends IXR_Server {
foreach($catids as $catid) {
$categories[] = array(
'categoryName' => get_cat_name($catid),
'categoryId' => $catid,
'categoryId' => (string) $catid,
'isPrimary' => $isPrimary
);
$isPrimary = false;