From e891a8785cda646d791c6e8d1c1e6c1c44ef3815 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 9 Sep 2004 05:15:38 +0000 Subject: - Patch #10669 by Ax: bugfix: getting a post from latest Drupal into latest ecto yields an error "response contains string value where integer expected". --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi/blogapi.module') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 0e472aa46..a603b2185 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -651,7 +651,7 @@ function _blogapi_get_post($node, $bodies = true) { $xmlrpcval['content'] = new xmlrpcval("$blog->title$node->body", 'string'); $xmlrpcval['description'] = new xmlrpcval($node->body, 'string'); // Add MT specific fields - $xmlrpcval['mt_allow_comments'] = new xmlrpcval($comment, 'string'); + $xmlrpcval['mt_allow_comments'] = new xmlrpcval($comment, 'int'); $xmlrpcval['mt_convert_breaks'] = new xmlrpcval($node->format, 'string'); } -- cgit v1.2.3