reseting expiration date works again

This commit is contained in:
Uwe Steinmann 2015-01-23 13:38:52 +01:00
parent 9be1d40624
commit f79f9acc78
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
- add missing start in transaction in SeedDMS_Core_Folder::remove() - add missing start in transaction in SeedDMS_Core_Folder::remove()
- pass access object to view in out.ReviewDocument.php (Bug #191) - pass access object to view in out.ReviewDocument.php (Bug #191)
- unset setting expiration date works again
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 4.3.13 Changes in version 4.3.13

View File

@ -182,7 +182,7 @@ if ($_POST["expires"] != "false") {
} }
} }
if ($expires) { //if ($expires) {
if($document->setExpires($expires)) { if($document->setExpires($expires)) {
if($notifier) { if($notifier) {
$notifyList = $document->getNotifyList(); $notifyList = $document->getNotifyList();
@ -205,7 +205,7 @@ if ($expires) {
} else { } else {
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured")); UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
} }
} //}
if (($oldkeywords = $document->getKeywords()) != $keywords) { if (($oldkeywords = $document->getKeywords()) != $keywords) {
if($document->setKeywords($keywords)) { if($document->setKeywords($keywords)) {