fix error in addIndReceipt

This commit is contained in:
Uwe Steinmann 2016-10-05 11:15:50 +02:00
parent 70db94f83c
commit f5dc479714

View File

@ -4571,7 +4571,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
$userID = $user->getID();
// 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) {
return -1;
}