From 6a74ad724b006a5fa1f484eca0c7557be52fed4c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 30 Sep 2013 03:52:11 -0700 Subject: [PATCH] Fix an issue with UUID query construction Summary: This is SVN-only and I missed it in my test plan. Test Plan: `arc diff` in SVN repository with no `.arcconfig`. Auditors: btrahan --- .../differential/query/DifferentialRepositoryLookup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/query/DifferentialRepositoryLookup.php b/src/applications/differential/query/DifferentialRepositoryLookup.php index e03cedd66a..c964bf4580 100644 --- a/src/applications/differential/query/DifferentialRepositoryLookup.php +++ b/src/applications/differential/query/DifferentialRepositoryLookup.php @@ -42,7 +42,7 @@ final class DifferentialRepositoryLookup extends Phobject { if ($diff->getRepositoryUUID()) { $repositories = id(new PhabricatorRepositoryQuery()) ->setViewer($viewer) - ->withUUIDs($diff->getRepositoryUUID()) + ->withUUIDs(array($diff->getRepositoryUUID())) ->execute(); if ($repositories) { return head($repositories);