diff --git a/arcanist/workflow/ArcanistLandBotWorkflow.php b/arcanist/workflow/ArcanistLandBotWorkflow.php --- a/arcanist/workflow/ArcanistLandBotWorkflow.php +++ b/arcanist/workflow/ArcanistLandBotWorkflow.php @@ -108,8 +108,8 @@ } $branch = $this->getArgument('branch'); - if ($branch) { - array_push($landArgs, $branch); + if (!empty($branch)) { + array_push($landArgs, $branch[0]); } $landWorkflow = $this->buildChildWorkflow('land', $landArgs);