diff --git a/src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php b/src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php index d7fe2e4d6f..57720b3ba7 100644 --- a/src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php +++ b/src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php @@ -91,7 +91,7 @@ final class PhabricatorPolicyEditEngineExtension ->setValue($object->getPolicy($capability)); $fields[] = $policy_field; - if (!($object instanceof PhabricatorSpacesInterface)) { + if ($object instanceof PhabricatorSpacesInterface) { if ($capability == PhabricatorPolicyCapability::CAN_VIEW) { $type_space = PhabricatorTransactions::TYPE_SPACE; if (isset($types[$type_space])) {