mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#298. 최근글/웹진형 위젯에서 대상 글이 1개일 경우 오류가 나는 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b5a09b8fe1
commit
ecebb4192d
3 changed files with 2 additions and 5 deletions
|
|
@ -54,6 +54,3 @@ RewriteRule ^([a-zA-Z0-9_]+)/writer/(.*)$ ./index.php?mid=$1&search_target=nick_
|
|||
|
||||
# module link
|
||||
RewriteRule ^([a-zA-Z0-9_]+)(/){0,1}$ ./index.php?mid=$1 [L]
|
||||
|
||||
# css/img/js/htc등의 경로 처리
|
||||
RewriteRule ^(.+)/common/js/iePngFix.htc ./common/js/iePngFix.htc [L]
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
$obj->order_type = $order_type=="desc"?"asc":"desc";
|
||||
$obj->list_count = $list_count;
|
||||
|
||||
$output = executeQuery('widgets.newest_document.getNewestDocuments', $obj);
|
||||
$output = executeQueryArray('widgets.newest_document.getNewestDocuments', $obj);
|
||||
|
||||
// document 모듈의 model 객체를 받아서 결과를 객체화 시킴
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
$obj->isvalid = 'Y';
|
||||
|
||||
// 정해진 모듈에서 문서별 파일 목록을 구함
|
||||
$files_output = executeQuery("file.getOneFileInDocument", $obj);
|
||||
$files_output = executeQueryArray("file.getOneFileInDocument", $obj);
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
if(count($files_output->data)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue