Commit 59e75fa32c0c9f0571669d98e8a2d65082e0a1cb

Authored by nbm
1 parent 097bd1e1

Deal with being passed fFolderID instead of fFolderId


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3687 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocument.php
... ... @@ -47,6 +47,10 @@ $oStorage =& KTStorageManagerUtil::getSingleton();
47 47  
48 48 class KTAddDocumentDispatcher extends KTStandardDispatcher {
49 49 function check() {
  50 + if ($_REQUEST['fFolderID']) {
  51 + $_REQUEST['fFolderId'] = $_REQUEST['fFolderID'];
  52 + unset($_REQUEST['fFolderID']);
  53 + }
50 54 $this->validateFolder($_REQUEST['fFolderId']);
51 55 $this->validatePermission('ktcore.permissions.write');
52 56 $this->validateFolderPermission();
... ...