1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

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
This commit is contained in:
epriestley 2013-09-30 03:52:11 -07:00
parent 89007024ad
commit 6a74ad724b

View file

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