mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
reseting expiration date works again
This commit is contained in:
parent
9be1d40624
commit
f79f9acc78
|
@ -3,6 +3,7 @@
|
|||
--------------------------------------------------------------------------------
|
||||
- add missing start in transaction in SeedDMS_Core_Folder::remove()
|
||||
- pass access object to view in out.ReviewDocument.php (Bug #191)
|
||||
- unset setting expiration date works again
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.13
|
||||
|
|
|
@ -182,7 +182,7 @@ if ($_POST["expires"] != "false") {
|
|||
}
|
||||
}
|
||||
|
||||
if ($expires) {
|
||||
//if ($expires) {
|
||||
if($document->setExpires($expires)) {
|
||||
if($notifier) {
|
||||
$notifyList = $document->getNotifyList();
|
||||
|
@ -205,7 +205,7 @@ if ($expires) {
|
|||
} else {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
if (($oldkeywords = $document->getKeywords()) != $keywords) {
|
||||
if($document->setKeywords($keywords)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user