mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
fix error in addIndReceipt
This commit is contained in:
parent
70db94f83c
commit
f5dc479714
|
@ -4571,7 +4571,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
$userID = $user->getID();
|
$userID = $user->getID();
|
||||||
|
|
||||||
// Check to see if the user can be removed from the recipient list.
|
// Check to see if the user can be removed from the recipient list.
|
||||||
$revisionStatus = $user->getReceiptStatus($this->_document->getID(), $this->_version);
|
$receiptStatus = $user->getReceiptStatus($this->_document->getID(), $this->_version);
|
||||||
if (is_bool($receiptStatus) && !$receiptStatus) {
|
if (is_bool($receiptStatus) && !$receiptStatus) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user