mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
verifyStatus() handles status change when S_EXPIRED is set
This commit is contained in:
parent
d9a4305fd7
commit
270770782f
|
@ -3285,7 +3285,10 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
} elseif($st["status"]==S_IN_REVISION) {
|
||||
if($needsCorrection) $this->setStatus(S_NEEDS_CORRECTION,$msg,$user);
|
||||
else $this->setStatus(S_RELEASED,$msg,$user);
|
||||
} elseif($st["status"]==S_EXPIRED) {
|
||||
$this->setStatus(S_RELEASED,$msg,$user);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user