#104 분류항목 선택 후 글 선택시 분류가 이어지지 않는 문제와 검색후 새창으로 글이 뜨던 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2369 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-22 00:36:09 +00:00
parent 3a970616b1
commit aa141569c1
7 changed files with 11 additions and 51 deletions

View file

@ -94,7 +94,7 @@
$this->setCommentEditor(0, 100);
// 만약 document_srl은 있는데 page가 없다면 글만 호출된 경우 page를 구해서 세팅해주자..
if($document_srl && !$page && ($oDocument->isExists()&&!$oDocument->isNotice())) {
if($document_srl && !$page && ($oDocument->isExists()&&!$oDocument->isNotice()) && !Context::get('category') && !Context::get('search_keyword')) {
$page = $oDocumentModel->getDocumentPage($document_srl, $this->module_srl, $this->list_count);
Context::set('page', $page);
}