Commit ecff1aa2fb57bb843e21d6f8bcaf03fbd5321596

Authored by Michael Joseph
1 parent f48782a2

changed to email a controller link instead of the full page path


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1925 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php
@@ -40,7 +40,7 @@ if (checkSession()) { @@ -40,7 +40,7 @@ if (checkSession()) {
40 $sMessage = "Your colleague, " . $oUser->getName() . ", wishes you to view the document entitled '" . $oDocument->getName() . "'.\n Click on the hyperlink below to view it"; 40 $sMessage = "Your colleague, " . $oUser->getName() . ", wishes you to view the document entitled '" . $oDocument->getName() . "'.\n Click on the hyperlink below to view it";
41 } 41 }
42 // add the link to the document to the mail 42 // add the link to the document to the mail
43 - $sMessage .= ' ' . generateLink("/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php", "fDocumentID=$fDocumentID", $oDocument->getName()); 43 + $sMessage .= ' ' . generateControllerLink("viewDocument", "fDocumentID=$fDocumentID", $oDocument->getName());
44 44
45 //email the hyperlink 45 //email the hyperlink
46 $oEmail = new Email(); 46 $oEmail = new Email();