Commit 71dfb3d3dc8c080002a41afcf0c681b48c7e64c8

Authored by michael
1 parent ebfdafa4

corrected email bug- now emails to the collaboration step user instead of the logged in user


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1869 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php
... ... @@ -77,7 +77,7 @@ if (checkSession()) {
77 77 $oEmail = & new Email();
78 78 $oRole = Role::get($oFolderCollaboration->getRoleID());
79 79 $oDocument = Document::get($fDocumentID);
80   - $oUser = User::get($_SESSION["userID"]);
  80 + $oUser = User::get($fUserID);
81 81  
82 82 $sBody = "You have been assigned the role of '" . $oRole->getName() . "' in the collaboration process for the document entitled '" . $oDocument->getName() . "'. You will be informed when your role becomes active";
83 83 $oEmail->send($oUser->getEmail(), "Assigment of role in document collaboration process", $sBody, $default->owl_email_from, $default->owl_email_fromname);
... ...