From b1d3948d77874721226240f1479b57658b50a78a Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 27 Jan 2014 10:36:40 -0800 Subject: [PATCH] Default to `array()` when failing to look up repository PHIDs. Auditors: btrahan --- src/workflow/ArcanistBaseWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflow/ArcanistBaseWorkflow.php b/src/workflow/ArcanistBaseWorkflow.php index d971ae9b..dea5bb89 100644 --- a/src/workflow/ArcanistBaseWorkflow.php +++ b/src/workflow/ArcanistBaseWorkflow.php @@ -1575,7 +1575,7 @@ abstract class ArcanistBaseWorkflow extends Phobject { private function getRepositoryInformation() { if ($this->repositoryInfo === null) { list($info, $reasons) = $this->loadRepositoryInformation(); - $this->repositoryInfo = $info; + $this->repositoryInfo = nonempty($info, array()); $this->repositoryReasons = $reasons; } -- 2.43.0