Commit 32d63c877afa326a649ef65b0384e9c573f00b87

Authored by michael
1 parent 85a5181c

added type to factory create signature


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2230 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/addArchiveSettingsBL.php
... ... @@ -32,7 +32,7 @@ if (checkSession()) {
32 32 if ($fStore) {
33 33 $oDASFactory = new DocumentArchiveSettingsFactory($fArchivingTypeID);
34 34  
35   - if ($oDASFactory->create($fDocumentID, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) {
  35 + if ($oDASFactory->create($fArchivingTypeID, $fDocumentID, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) {
36 36 // created, redirect to view page
37 37 controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings");
38 38 } else {
... ...