Commit 383fc8578e91fa7ef5df2bb711625d023f95e72f
1 parent
1007a950
KTS-2419
"CLONE -Bug - Document Transaction History Not Tracking Emailing From KT (SUP-378)" Committed by: Megan Watson Reviewed by: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7291 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
plugins/ktstandard/KTEmail.php
| ... | ... | @@ -185,7 +185,7 @@ function sendEmailDocument($aDestEmailAddress, $iDocumentID, $sDocumentName, $sC |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | // emailed link transaction |
| 188 | - $oDocumentTransaction = new DocumentTransaction($oDocument, sprintf(_kt("Document copy emailed to %s"), $sDestEmails), 'ktcore.transactions.email_attachement'); | |
| 188 | + $oDocumentTransaction = new DocumentTransaction($oDocument, sprintf(_kt("Document copy emailed to %s. "), $sDestEmails).$sComment, 'ktcore.transactions.email_attachment'); | |
| 189 | 189 | if ($oDocumentTransaction->create()) { |
| 190 | 190 | $default->log->debug("emailBL.php created email link document transaction for document ID=$iDocumentID"); |
| 191 | 191 | } else { |
| ... | ... | @@ -244,7 +244,7 @@ function sendEmailHyperlink($aDestEmailAddress, $iDocumentID, $sDocumentName, $s |
| 244 | 244 | // need a document to do this. |
| 245 | 245 | $oDocument =& Document::get($iDocumentID); |
| 246 | 246 | |
| 247 | - $oDocumentTransaction = new DocumentTransaction($oDocument, sprintf(_kt("Document link emailed to %s"), $sDestEmails), 'ktcore.transactions.email_link'); | |
| 247 | + $oDocumentTransaction = new DocumentTransaction($oDocument, sprintf(_kt("Document link emailed to %s. "), $sDestEmails).$sComment, 'ktcore.transactions.email_link'); | |
| 248 | 248 | |
| 249 | 249 | if ($oDocumentTransaction->create()) { |
| 250 | 250 | $default->log->debug("emailBL.php created email link document transaction for document ID=$iDocumentID"); | ... | ... |