Commit d44603cce1a752f2bc091d2348b641dc8256d36f

Authored by Michael Joseph
1 parent 2e41049b

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 {
... ...