Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F77319
D7448.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Referenced Files
None
Subscribers
None
D7448.diff
View Options
diff --git a/src/applications/diffusion/request/DiffusionRequest.php b/src/applications/diffusion/request/DiffusionRequest.php
--- a/src/applications/diffusion/request/DiffusionRequest.php
+++ b/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/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ie/ej/mnxutufd7zlzmwcj
Default Alt Text
D7448.diff (602 B)
Attached To
Mode
D7448: Fix an issue with viewing an undiscovered commit in Diffusion
Attached
Detach File
Event Timeline
Log In to Comment