mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 05:57:34 +00:00
set _public to a bool value, used to be int
This commit is contained in:
parent
bc0e03c6c6
commit
c355fecc8b
|
@ -5909,7 +5909,7 @@ class SeedDMS_Core_DocumentFile { /* {{{ */
|
|||
if (!$db->getResult($queryStr))
|
||||
return false;
|
||||
|
||||
$this->_public = $newPublic ? 1 : 0;
|
||||
$this->_public = $newPublic ? true : false;
|
||||
return true;
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user