1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Default to array() when failing to look up repository PHIDs.

Auditors: btrahan
This commit is contained in:
epriestley 2014-01-27 10:36:40 -08:00
parent 2ef2b76f10
commit b1d3948d77

View file

@ -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;
}