mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
문서 파일 개수에서 확장변수 파일 개수 제외
This commit is contained in:
parent
10cb1b2e20
commit
612fa92835
1 changed files with 3 additions and 3 deletions
|
|
@ -694,7 +694,7 @@ class DocumentController extends Document
|
|||
unset($obj->user_id);
|
||||
}
|
||||
|
||||
$obj->uploaded_count = FileModel::getFilesCount($obj->document_srl);
|
||||
$obj->uploaded_count = FileModel::getFilesCount($obj->document_srl, 'doc');
|
||||
|
||||
// Call a trigger (before)
|
||||
$output = ModuleHandler::triggerCall('document.insertDocument', 'before', $obj);
|
||||
|
|
@ -991,7 +991,7 @@ class DocumentController extends Document
|
|||
if(($obj->title_color ?? 'N') === 'N') $obj->title_color = 'N';
|
||||
if(($obj->notify_message ?? 'N') !== 'Y') $obj->notify_message = 'N';
|
||||
if(($obj->allow_trackback ?? 'N') !== 'Y') $obj->allow_trackback = 'N';
|
||||
$obj->uploaded_count = FileModel::getFilesCount($obj->document_srl);
|
||||
$obj->uploaded_count = FileModel::getFilesCount($obj->document_srl, 'doc');
|
||||
|
||||
// Call a trigger (before)
|
||||
$output = ModuleHandler::triggerCall('document.updateDocument', 'before', $obj);
|
||||
|
|
@ -3769,7 +3769,7 @@ Content;
|
|||
|
||||
$args = new stdClass;
|
||||
$args->document_srl = $document_srl;
|
||||
$args->uploaded_count = FileModel::getFilesCount($document_srl);
|
||||
$args->uploaded_count = FileModel::getFilesCount($document_srl, 'doc');
|
||||
executeQuery('document.updateUploadedCount', $args);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue