Commit e9447f4f01a9a6bb3e23ae7525cde6c34a32f9ae
1 parent
1b225911
KTS-1515
"When editing document metadata, the metadata is not updated in the database." Fixed. Committed By: Kevin Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6717 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
1 deletions
plugins/ktcore/document/edit.php
| ... | ... | @@ -217,7 +217,11 @@ class KTDocumentEditAction extends KTDocumentAction { |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | $this->commitTransaction(); |
| 220 | - | |
| 220 | + | |
| 221 | + // create the document transaction record | |
| 222 | + $oDocumentTransaction = & new DocumentTransaction($this->oDocument, _kt('Document metadata updated'), 'ktcore.transactions.update'); | |
| 223 | + $oDocumentTransaction->create(); | |
| 224 | + | |
| 221 | 225 | redirect(KTBrowseUtil::getUrlForDocument($this->oDocument->getId())); |
| 222 | 226 | exit(0); |
| 223 | 227 | } | ... | ... |