mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
fix second parameter passed to setDefaultAccess()
This commit is contained in:
parent
2d6c1d635b
commit
fc44fdf537
|
@ -749,7 +749,7 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function setDefaultAccess($mode, $noclean="false") { /* {{{ */
|
function setDefaultAccess($mode, $noclean=false) { /* {{{ */
|
||||||
$db = $this->_dms->getDB();
|
$db = $this->_dms->getDB();
|
||||||
|
|
||||||
if($mode < M_LOWEST_RIGHT || $mode > M_HIGHEST_RIGHT)
|
if($mode < M_LOWEST_RIGHT || $mode > M_HIGHEST_RIGHT)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user