diff --git a/src/applications/conduit/method/arcanist/projectinfo/ConduitAPI_arcanist_projectinfo_Method.php b/src/applications/conduit/method/arcanist/projectinfo/ConduitAPI_arcanist_projectinfo_Method.php index 2673aefef0..313e8abe09 100644 --- a/src/applications/conduit/method/arcanist/projectinfo/ConduitAPI_arcanist_projectinfo_Method.php +++ b/src/applications/conduit/method/arcanist/projectinfo/ConduitAPI_arcanist_projectinfo_Method.php @@ -57,9 +57,11 @@ class ConduitAPI_arcanist_projectinfo_Method $repository_phid = null; $tracked = false; + $encoding = null; if ($repository) { $repository_phid = $repository->getPHID(); $tracked = $repository->isTracked(); + $encoding = $repository->getDetail('encoding'); } return array( @@ -67,7 +69,7 @@ class ConduitAPI_arcanist_projectinfo_Method 'phid' => $project->getPHID(), 'repositoryPHID' => $repository_phid, 'tracked' => $tracked, - 'encoding' => $repository->getDetail('encoding') + 'encoding' => $encoding, ); }