Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14003869
D7448.id16777.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
601 B
Referenced Files
None
Subscribers
None
D7448.id16777.diff
View Options
Index: src/applications/diffusion/request/DiffusionRequest.php
===================================================================
--- src/applications/diffusion/request/DiffusionRequest.php
+++ src/applications/diffusion/request/DiffusionRequest.php
@@ -277,7 +277,9 @@
'repositoryID = %d AND commitIdentifier = %s',
$repository->getID(),
$this->getCommit());
- $commit->attachRepository($repository);
+ if ($commit) {
+ $commit->attachRepository($repository);
+ }
$this->repositoryCommit = $commit;
}
return $this->repositoryCommit;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 27, 11:46 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6741186
Default Alt Text
D7448.id16777.diff (601 B)
Attached To
Mode
D7448: Fix an issue with viewing an undiscovered commit in Diffusion
Attached
Detach File
Event Timeline
Log In to Comment