mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
tab 최근글 위젯의 잘못된 코드 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5304 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a0867b8149
commit
84cffa0959
1 changed files with 1 additions and 7 deletions
|
|
@ -57,12 +57,6 @@
|
|||
if(!$widget_info->duration_new) $widget_info->duration_new = 12 * 60 * 60;
|
||||
|
||||
|
||||
// 대상 모듈 정리
|
||||
$mid_list = explode(",",$args->mid_list);
|
||||
|
||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||
if(count($mid_list)==1) $widget_info->module_name = $mid_list[0];
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
|
|
@ -99,7 +93,7 @@
|
|||
$obj->sort_index = $widget_info->order_target;
|
||||
$obj->order_type = $widget_info->order_type=="desc"?"asc":"desc";
|
||||
foreach($tab_list as $mid => $module) {
|
||||
$obj->module_srl = $module_srl;
|
||||
$obj->module_srl = $module->module_srl;
|
||||
$output = executeQueryArray("widgets.tab_newest_document.getNewestDocuments", $obj);
|
||||
unset($data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue