mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
관리자가 Board Module에서 글 체크후 관리기능을 사용시 글갯수가 *2로 되던 문제 해결. 글관리 성공후 세션 비우기 처리
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1872 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fde7372f43
commit
56cffca5dc
2 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@
|
|||
$output = $oDocumentAdminController->moveDocumentModule($document_srl_list, $module_srl, $this->module_srl);
|
||||
if(!$output->toBool()) return new Object(-1, 'fail_to_move');
|
||||
$msg_code = 'success_moved';
|
||||
$_SESSION['document_management'][$this->module_srl] = null;
|
||||
$_SESSION['document_management'] = null;
|
||||
}
|
||||
|
||||
} elseif($type =='delete') {
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
$oDB->commit();
|
||||
$msg_code = 'success_deleted';
|
||||
$_SESSION['document_management'][$this->module_srl] = null;
|
||||
$_SESSION['document_management'] = null;
|
||||
}
|
||||
|
||||
$this->setMessage($msg_code);
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@
|
|||
$oDocument->setAttribute($attribute);
|
||||
if($is_admin) $oDocument->setGrant();
|
||||
|
||||
$document_list[$document_srl] = $oDocument;
|
||||
$result[$document_srl] = $oDocument;
|
||||
}
|
||||
return $document_list;
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue