git-svn-id: http://xe-core.googlecode.com/svn/trunk@1526 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-01 04:12:07 +00:00
parent d0df5dc120
commit d547ce7d3a

View file

@ -297,6 +297,9 @@
$content = getXmlRpcFailure(1, 'post not founded');
printContent($content);
} else {
$oContext = &Context::getInstance();
$posts = array();
foreach($output->data as $key => $val) {
$post = null;
@ -304,7 +307,7 @@
$post->userid = $val->user_id;
$post->mt_allow_pings = 0;
$post->mt_allow_comments = $val->allow_comment=='Y'?1:0;
$post->description = htmlspecialchars($val->content);
$post->description = htmlspecialchars($oContext->transContent($val->content));
$post->postid = $val->document_srl;
$post->title = htmlspecialchars($val->title);