Page MenuHomePhabricator

D12348.diff
No OneTemporary

D12348.diff

diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php
--- a/src/applications/audit/editor/PhabricatorAuditEditor.php
+++ b/src/applications/audit/editor/PhabricatorAuditEditor.php
@@ -961,8 +961,8 @@
// not every code path loads the repository so tread carefully
// TODO: They should, and then we should simplify this.
- if ($object->getRepository($assert_attached = false)) {
- $repository = $object->getRepository();
+ $repository = $object->getRepository($assert_attached = false);
+ if ($repository != PhabricatorLiskDAO::ATTACHABLE) {
if (!$repository->shouldPublish()) {
return false;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 16, 3:42 PM (15 h, 16 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8131988
Default Alt Text
D12348.diff (718 B)

Event Timeline