diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc
index c53acaa..26093ce 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc
@@ -1,25 +1,16 @@
siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])));
- $sColor = $default->siteMap->getSectionColour($sSectionName, "th");
- $sToRender = "
\n";
- $sToRender .= "| $sHeading |
\n";
- $sToRender .= "
\n";
- $sToRender .= "
\n";
- $sToRender .= "
\n";
- return $sToRender;
-}*/
+ * $Id$
+ *
+ * Contains HTML information required to build the document history view page.
+ * Will be used by viewHistoryBL.php
+ *
+ * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING.
+ *
+ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa
+ * @date 12 February 2003
+ * @package presentation.lookAndFeel.knowledgeTree.documentmanagement
+ */
function getDocumentPath($iFolderID, $sDocumentName) {
global $default;
@@ -52,7 +43,7 @@ function getDocumentHistory($iDocumentID) {
$i = 0;
while ($sql->next_record()) {
if ($sql->f("transaction_name") == "Check Out") {
- $sVersion = generateControllerLink("viewDocument", "fDocumentID=$iDocumentID&fForDownload=1&fVersion=" . $sql->f("version"), "" . $sql->f("version") . "");
+ $sVersion = generateControllerLink("downloadDocument", "fDocumentID=$iDocumentID&fVersion=" . $sql->f("version"), "" . $sql->f("version") . "");
} else {
$sVersion = $sql->f("version");
}