Commit fef3213daefefa723b8b515f2e4bf9e3ed24ea1c
1 parent
c92d110c
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
Showing
1 changed file
with
1 additions
and
1 deletions
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); | ... | ... |