mayReceive() requires a released document

This commit is contained in:
Uwe Steinmann 2018-01-16 18:07:20 +01:00
parent 2b5f9ab3b3
commit 065fa49cc4

View File

@ -363,7 +363,7 @@ class SeedDMS_AccessOperation {
if(get_class($document) == $this->dms->getClassname('document')) {
if($latestContent = $document->getLatestContent()) {
$status = $latestContent->getStatus();
if ($status["status"]!=S_OBSOLETE) {
if ($status["status"]==S_RELEASED) {
return true;
}
}