mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
updateCategoryDocumentCount by CategorySrl and ModuleSrl
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6457 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cfc6abb0df
commit
4ea7afde5c
3 changed files with 5 additions and 2 deletions
|
|
@ -824,7 +824,7 @@
|
|||
function updateCategoryCount($module_srl, $category_srl, $document_count = 0) {
|
||||
// document model 객체 생성
|
||||
$oDocumentModel = &getModel('document');
|
||||
if(!$document_count) $document_count = $oDocumentModel->getCategoryDocumentCount($category_srl);
|
||||
if(!$document_count) $document_count = $oDocumentModel->getCategoryDocumentCount($module_srl,$category_srl);
|
||||
|
||||
$args->category_srl = $category_srl;
|
||||
$args->document_count = $document_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue