Page MenuHomePhabricator

D7448.id16801.diff
No OneTemporary

D7448.id16801.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
Tue, Oct 22, 8:42 AM (3 w, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6741186
Default Alt Text
D7448.id16801.diff (601 B)

Event Timeline