Commit 0f5d88ba1106c540b7e5743292226ac967ce0cda

Authored by kevin_fourie
1 parent 12965de7

Merged in from DEV trunk...

Some whitespace updates.

KTS-3401
"The filename starting with multi-byte character set (such as Korean) is not recognized correctly"
Fixed. Removed redundant basename.

Committed By: Kevin Fourie
Reviewed By: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/branches/3.5.3-Branch@8619 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/folder/addDocument.php
... ... @@ -344,7 +344,7 @@ class KTFolderAddDocumentAction extends KTFolderAction {
344 344  
345 345 $mpo->start();
346 346 //$this->startTransaction();
347   - $oDocument =& KTDocumentUtil::add($this->oFolder, basename($aFile['name']), $this->oUser, $aOptions);
  347 + $oDocument =& KTDocumentUtil::add($this->oFolder, $aFile['name'], $this->oUser, $aOptions);
348 348 if (PEAR::isError($oDocument)) {
349 349 $message = $oDocument->getMessage();
350 350 $this->errorRedirectTo('main',sprintf(_kt("Unexpected failure to add document - %s"), $message), 'fFolderId=' . $this->oFolder->getId());
... ...