mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +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()
|
- 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
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user