From e2e9d9bf13b8c71eb4922d8063763ca270eb896f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 28 Oct 2013 11:26:45 +0100 Subject: [PATCH] Fixed default safety --- src/Models/Model_User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Model_User.php b/src/Models/Model_User.php index 19d190da..95ec7015 100644 --- a/src/Models/Model_User.php +++ b/src/Models/Model_User.php @@ -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); }