Fixed default safety
This commit is contained in:
parent
9e6716021a
commit
e2e9d9bf13
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Model_User extends AbstractModel
|
|||
{
|
||||
$all = $this->getSetting(self::SETTING_SAFETY);
|
||||
if (!$all)
|
||||
return $safety == PostSafety::toFlag(PostSafety::Safe);
|
||||
return $safety == PostSafety::Safe;
|
||||
return $all & PostSafety::toFlag($safety);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue