Commit 12064ff88f1f8d7bf014d4bb734906f1f4570930
1 parent
c66a6819
Get the proper title for the document being created.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4467 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/folder/addDocument.php
| @@ -95,7 +95,7 @@ class KTFolderAddDocumentAction extends KTFolderAction { | @@ -95,7 +95,7 @@ class KTFolderAddDocumentAction extends KTFolderAction { | ||
| 95 | 'contents' => new KTFSFileLike($_FILES['file']['tmp_name']), | 95 | 'contents' => new KTFSFileLike($_FILES['file']['tmp_name']), |
| 96 | 'documenttype' => $this->oDocumentType, | 96 | 'documenttype' => $this->oDocumentType, |
| 97 | 'metadata' => $aFields, | 97 | 'metadata' => $aFields, |
| 98 | - 'description' => $_REQUEST['fName'], | 98 | + 'description' => $_REQUEST['title'], |
| 99 | ); | 99 | ); |
| 100 | 100 | ||
| 101 | $mpo->start(); | 101 | $mpo->start(); |