mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
set initial document status
This commit is contained in:
parent
9e3bb361ae
commit
41a438754a
|
@ -302,6 +302,7 @@ $filetmp = $filename;
|
|||
|
||||
$reviewers = array();
|
||||
$approvers = array();
|
||||
$recipients = array();
|
||||
|
||||
if($folder) {
|
||||
$controller = Controller::factory('AddDocument', array('dms'=>$dms, 'user'=>$user));
|
||||
|
@ -325,6 +326,7 @@ if($folder) {
|
|||
$controller->setParam('sequence', $minmax['max'] + 1);
|
||||
$controller->setParam('reviewers', $reviewers);
|
||||
$controller->setParam('approvers', $approvers);
|
||||
$controller->setParam('recipients', $recipients);
|
||||
$controller->setParam('reqversion', $reqversion);
|
||||
$controller->setParam('versioncomment', $version_comment);
|
||||
$controller->setParam('attributes', $document_attributes);
|
||||
|
@ -332,6 +334,7 @@ if($folder) {
|
|||
$controller->setParam('workflow', null);
|
||||
$controller->setParam('notificationgroups', array());
|
||||
$controller->setParam('notificationusers', array());
|
||||
$controller->setParam('initialdocumentstatus', $settings->_initialDocumentStatus);
|
||||
$controller->setParam('maxsizeforfulltext', $settings->_maxSizeForFullText);
|
||||
$controller->setParam('defaultaccessdocs', $settings->_defaultAccessDocs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user