mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
value for _inheritAccess are true or false
This commit is contained in:
parent
375c68e8de
commit
c945829b80
|
@ -218,7 +218,7 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
$this->_expires = $expires;
|
||||
$this->_ownerID = $ownerID;
|
||||
$this->_folderID = $folderID;
|
||||
$this->_inheritAccess = $inheritAccess;
|
||||
$this->_inheritAccess = $inheritAccess ? true : false;
|
||||
$this->_defaultAccess = $defaultAccess;
|
||||
$this->_locked = ($locked == null || $locked == '' ? -1 : $locked);
|
||||
$this->_keywords = $keywords;
|
||||
|
@ -804,7 +804,7 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
if (!$db->getResult($queryStr))
|
||||
return false;
|
||||
|
||||
$this->_inheritAccess = ($inheritAccess ? "1" : "0");
|
||||
$this->_inheritAccess = ($inheritAccess ? true : false);
|
||||
|
||||
if(!$noclean)
|
||||
$this->cleanNotifyList();
|
||||
|
|
Loading…
Reference in New Issue
Block a user