Page MenuHomePhabricator

D7448.id16777.diff
No OneTemporary

D7448.id16777.diff

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

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)

Event Timeline