Commit a27870a28407eca392ed71a7c05343511915d2c8
1 parent
020c0fd6
fix for KTS-1356: reason is lost for force-checkin
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5991 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/KTDocumentActions.php
| @@ -660,7 +660,7 @@ class KTDocumentCancelCheckOutAction extends KTDocumentAction { | @@ -660,7 +660,7 @@ class KTDocumentCancelCheckOutAction extends KTDocumentAction { | ||
| 660 | } | 660 | } |
| 661 | 661 | ||
| 662 | // checkout cancelled transaction | 662 | // checkout cancelled transaction |
| 663 | - $oDocumentTransaction = & new DocumentTransaction($this->oDocument, "Document checked out cancelled", 'ktcore.transactions.force_checkin'); | 663 | + $oDocumentTransaction = & new DocumentTransaction($this->oDocument, $data['reason'], 'ktcore.transactions.force_checkin'); |
| 664 | $res = $oDocumentTransaction->create(); | 664 | $res = $oDocumentTransaction->create(); |
| 665 | if (PEAR::isError($res) || ($res === false)) { | 665 | if (PEAR::isError($res) || ($res === false)) { |
| 666 | $this->rollbackTransaction(); | 666 | $this->rollbackTransaction(); |