From 71dfb3d3dc8c080002a41afcf0c681b48c7e64c8 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 16 May 2003 14:12:58 +0000 Subject: [PATCH] corrected email bug- now emails to the collaboration step user instead of the logged in user --- presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php index 9dccd87..e779b8a 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php @@ -77,7 +77,7 @@ if (checkSession()) { $oEmail = & new Email(); $oRole = Role::get($oFolderCollaboration->getRoleID()); $oDocument = Document::get($fDocumentID); - $oUser = User::get($_SESSION["userID"]); + $oUser = User::get($fUserID); $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"; $oEmail->send($oUser->getEmail(), "Assigment of role in document collaboration process", $sBody, $default->owl_email_from, $default->owl_email_fromname); -- libgit2 0.21.4