Page MenuHomePhabricator

D20156.diff
No OneTemporary

D20156.diff

diff --git a/src/applications/differential/harbormaster/DifferentialBuildableEngine.php b/src/applications/differential/harbormaster/DifferentialBuildableEngine.php
--- a/src/applications/differential/harbormaster/DifferentialBuildableEngine.php
+++ b/src/applications/differential/harbormaster/DifferentialBuildableEngine.php
@@ -7,7 +7,11 @@
$object = $this->getObject();
if ($object instanceof DifferentialDiff) {
- return $object->getRevision();
+ if ($object->getRevisionID()) {
+ return $object->getRevision();
+ } else {
+ return null;
+ }
}
return $object;

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 12:25 PM (11 h, 2 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6926239
Default Alt Text
D20156.diff (624 B)

Event Timeline