mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +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))
|
if (!$db->getResult($queryStr))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$this->_public = $newPublic ? 1 : 0;
|
$this->_public = $newPublic ? true : false;
|
||||||
return true;
|
return true;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user