Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15381276
D12348.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
718 B
Referenced Files
None
Subscribers
None
D12348.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12348: Audit - fix a bug with unloaded repositories
Attached
Detach File
Event Timeline
Log In to Comment