mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 09:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1526 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d0df5dc120
commit
d547ce7d3a
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue