From 0f5d88ba1106c540b7e5743292226ac967ce0cda Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Wed, 11 Jun 2008 12:46:10 +0000 Subject: [PATCH] Merged in from DEV trunk... --- plugins/ktcore/folder/addDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ktcore/folder/addDocument.php b/plugins/ktcore/folder/addDocument.php index f9b8bca..f8f2dde 100644 --- a/plugins/ktcore/folder/addDocument.php +++ b/plugins/ktcore/folder/addDocument.php @@ -344,7 +344,7 @@ class KTFolderAddDocumentAction extends KTFolderAction { $mpo->start(); //$this->startTransaction(); - $oDocument =& KTDocumentUtil::add($this->oFolder, basename($aFile['name']), $this->oUser, $aOptions); + $oDocument =& KTDocumentUtil::add($this->oFolder, $aFile['name'], $this->oUser, $aOptions); if (PEAR::isError($oDocument)) { $message = $oDocument->getMessage(); $this->errorRedirectTo('main',sprintf(_kt("Unexpected failure to add document - %s"), $message), 'fFolderId=' . $this->oFolder->getId()); -- libgit2 0.21.4