mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
글 수정시 원문의 글내용이 사라지는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5953 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c4014a88b9
commit
a106001d53
1 changed files with 3 additions and 3 deletions
|
|
@ -330,11 +330,11 @@
|
|||
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
||||
|
||||
// 글쓴이의 언어변수와 원문의 언어변수가 다르면 확장변수로 처리
|
||||
if($source_obj->lang_code != Context::getLangType()) {
|
||||
if($source_obj->get('lang_code') != Context::getLangType()) {
|
||||
$extra_content->title = $obj->title;
|
||||
$extra_content->content = $obj->content;
|
||||
$obj->title = $source_obj->title;
|
||||
$obj->content = $source_obj->content;
|
||||
$obj->title = $source_obj->get('title');
|
||||
$obj->content = $source_obj->get('content');
|
||||
}
|
||||
|
||||
// 세션에서 최고 관리자가 아니면 iframe, script 제거
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue