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:
parent
89007024ad
commit
6a74ad724b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ final class DifferentialRepositoryLookup extends Phobject {
|
||||||
if ($diff->getRepositoryUUID()) {
|
if ($diff->getRepositoryUUID()) {
|
||||||
$repositories = id(new PhabricatorRepositoryQuery())
|
$repositories = id(new PhabricatorRepositoryQuery())
|
||||||
->setViewer($viewer)
|
->setViewer($viewer)
|
||||||
->withUUIDs($diff->getRepositoryUUID())
|
->withUUIDs(array($diff->getRepositoryUUID()))
|
||||||
->execute();
|
->execute();
|
||||||
if ($repositories) {
|
if ($repositories) {
|
||||||
return head($repositories);
|
return head($repositories);
|
||||||
|
|
Loading…
Reference in a new issue