diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
index 5c78b25..04d9d7b 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -36,11 +36,12 @@ function renderDocumentPath($oDocument, $bDisplayActions = false) {
$sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($oDocument->getFolderID()), Folder::getFolderPathNamesAsArray($oDocument->getFolderID()), "$default->rootUrl/control.php?action=browse") . " > ";
// #3425 for consistency
- $sDocumentPath .= $oDocument->getFileName();
- if ($bDisplayActions) {
- $sDocumentPath = "getID() . "&fForInlineView=1") . "\">" . $sDocumentPath . "";
+ if ($bDisplayActions) {
+ $sDocumentPath .= "getID() . "&fForInlineView=1") . "\">" . $oDocument->getFileName() . "";
+ } else {
+ $sDocumentPath .= $oDocument->getFileName();
}
- return "
| $sDocumentPath | " . ($bDisplayActions ? "Actions | " : "") . "
\n";
+ return "| " . $sDocumentPath . " | " . ($bDisplayActions ? "Actions | " : "") . "
\n";
}
function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") {