Page MenuHomePhabricator

D7448.diff

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

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)

Event Timeline