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
Sat, Mar 15, 6:47 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7685889
Default Alt Text
D12348.diff (718 B)

Event Timeline