diff --git a/op/op.SetRevisors.php b/op/op.SetRevisors.php index b661aa458..9057ccf0a 100644 --- a/op/op.SetRevisors.php +++ b/op/op.SetRevisors.php @@ -62,7 +62,9 @@ if (isset($_POST["startdate"])) { $startdate = date('Y-m-d'); } -$content->setRevisionDate($startdate); +if(!$content->setRevisionDate($startdate)) { + UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured")); +} $folder = $document->getFolder();