Page MenuHomePhabricator

D7735.id17492.diff
No OneTemporary

D7735.id17492.diff

Index: src/applications/phragment/controller/PhragmentZIPController.php
===================================================================
--- src/applications/phragment/controller/PhragmentZIPController.php
+++ 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/plain
Expires
Oct 19 2024, 3:16 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6731528
Default Alt Text
D7735.id17492.diff (604 B)

Event Timeline