Page MenuHomePhabricator

D7735.diff

diff --git a/src/applications/phragment/controller/PhragmentZIPController.php b/src/applications/phragment/controller/PhragmentZIPController.php
--- a/src/applications/phragment/controller/PhragmentZIPController.php
+++ b/src/applications/phragment/controller/PhragmentZIPController.php
@@ -95,6 +95,9 @@
if (count($children) === 0) {
$path = substr($current->getPath(), strlen($base_path) + 1);
+ if ($current->getLatestVersion() === null) {
+ return array();
+ }
return array($path => $current->getLatestVersion()->getFilePHID());
} else {
$mappings = array();

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/kt/kq/tmuas4edg7apkatg
Default Alt Text
D7735.diff (614 B)

Event Timeline