Commit 732fb8a933c96ab268c3282a0846ac1b48ba41b1
1 parent
ef563d61
Added missing slash to folder path
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1050 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
3 additions
and
3 deletions
lib/foldermanagement/Folder.inc
| ... | ... | @@ -373,7 +373,7 @@ class Folder { |
| 373 | 373 | } |
| 374 | 374 | return $default->owl_FileDir . "/" . Folder::getFolderName($iFolderID) . "/";*/ |
| 375 | 375 | $oFolder = Folder::get($iFolderID); |
| 376 | - return $default->owl_FileDir . "/" . $oFolder->sFullPath . "/" . $oFolder->getName(); | |
| 376 | + return $default->owl_FileDir . "/" . $oFolder->sFullPath . "/" . $oFolder->getName() . "/"; | |
| 377 | 377 | } |
| 378 | 378 | |
| 379 | 379 | /** | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php
| ... | ... | @@ -29,7 +29,7 @@ if (checkSession()) { |
| 29 | 29 | //deletion of document is confirmed |
| 30 | 30 | $oDocument = Document::get($fDocumentID); |
| 31 | 31 | if (isset($oDocument)) { |
| 32 | - $sDocumentPath = Folder::getFolderPath($oDocument->getFolderID()) . $oDocument->getFileName(); | |
| 32 | + $sDocumentPath = Folder::getFolderPath($oDocument->getFolderID()) . $oDocument->getFileName(); | |
| 33 | 33 | $oDocumentTransaction = & new DocumentTransaction($fDocumentID, "Document deleted", DELETE); |
| 34 | 34 | $oDocumentTransaction->create(); |
| 35 | 35 | if ($oDocument->delete()) { | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | function getDocumentPath($iFolderID, $sDocumentName) { |
| 13 | 13 | global $default; |
| 14 | - $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($iFolderID), Folder::getFolderPathNamesAsArray($iFolderID), Folder::getFullFolderPath($iFolderID), "$default->owl_root_url/control.php?action=browse") . " > " . $sDocumentName; | |
| 14 | + $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($iFolderID), Folder::getFolderPathNamesAsArray($iFolderID), "$default->owl_root_url/control.php?action=browse") . " > " . $sDocumentName; | |
| 15 | 15 | return "<table border=1 width = 100%><tr><td>$sDocumentPath</td></tr></table>\n"; |
| 16 | 16 | } |
| 17 | 17 | ... | ... |