Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2962798
D25613.1739182020.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25613.1739182020.diff
View Options
diff --git a/src/infrastructure/export/engine/PhabricatorProjectsExportEngineExtension.php b/src/infrastructure/export/engine/PhabricatorProjectsExportEngineExtension.php
--- a/src/infrastructure/export/engine/PhabricatorProjectsExportEngineExtension.php
+++ b/src/infrastructure/export/engine/PhabricatorProjectsExportEngineExtension.php
@@ -24,6 +24,9 @@
$viewer = $this->getViewer();
$object_phids = mpull($objects, 'getPHID');
+ if (!$object_phids) {
+ return array();
+ }
$projects_query = id(new PhabricatorEdgeQuery())
->withSourcePHIDs($object_phids)
diff --git a/src/infrastructure/export/engine/PhabricatorSubscriptionsExportEngineExtension.php b/src/infrastructure/export/engine/PhabricatorSubscriptionsExportEngineExtension.php
--- a/src/infrastructure/export/engine/PhabricatorSubscriptionsExportEngineExtension.php
+++ b/src/infrastructure/export/engine/PhabricatorSubscriptionsExportEngineExtension.php
@@ -24,6 +24,9 @@
$viewer = $this->getViewer();
$object_phids = mpull($objects, 'getPHID');
+ if (!$object_phids) {
+ return array();
+ }
$projects_query = id(new PhabricatorEdgeQuery())
->withSourcePHIDs($object_phids)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 10, 10:07 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113199
Default Alt Text
D25613.1739182020.diff (1 KB)
Attached To
Mode
D25613: Fix exception trying to export empty task list to CSV
Attached
Detach File
Event Timeline
Log In to Comment