Page MenuHomePhorge

D25613.1749396333.diff
No OneTemporary

D25613.1749396333.diff

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

Mime Type
text/plain
Expires
Sun, Jun 8, 15:25 (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1754962
Default Alt Text
D25613.1749396333.diff (1 KB)

Event Timeline