diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-09-09 05:15:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-09-09 05:15:38 +0000 |
commit | e891a8785cda646d791c6e8d1c1e6c1c44ef3815 (patch) | |
tree | 719925abe97990e9c545a3f00246ea34e9d45368 /modules/blogapi/blogapi.module | |
parent | 0b1592c3953443286acbf74d990a8c8159fe3e62 (diff) | |
download | brdo-e891a8785cda646d791c6e8d1c1e6c1c44ef3815.tar.gz brdo-e891a8785cda646d791c6e8d1c1e6c1c44ef3815.tar.bz2 |
- Patch #10669 by Ax: bugfix: getting a post from latest Drupal into latest ecto yields an error "response contains string value where integer expected".
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
1 files changed, 1 insertions, 1 deletions
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("<title>$blog->title</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'); } |