mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
mayReceive() requires a released document
This commit is contained in:
parent
2b5f9ab3b3
commit
065fa49cc4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user