Skip to content

Commit

Permalink
Cast categoryId to string to be compliant. fixes #3662
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/branches/2.1@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Jan 25, 2007
1 parent 8789eb2 commit 78ca745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmlrpc.php
Expand Up @@ -977,7 +977,7 @@ function mt_getPostCategories($args) {
foreach($catids as $catid) {
$categories[] = array(
'categoryName' => get_cat_name($catid),
'categoryId' => $catid,
'categoryId' => (string) $catid,
'isPrimary' => $isPrimary
);
$isPrimary = false;
Expand Down

0 comments on commit 78ca745

Please sign in to comment.