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

Fix a name mismatch in PhrictionDocumentQuery

Summary: Fix an oversight in {D5285}

Test Plan: works smoothly again :D

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2686

Differential Revision: https://secure.phabricator.com/D5294
This commit is contained in:
Anh Nhan Nguyen 2013-03-08 07:50:25 -08:00 committed by epriestley
parent f9bd2e5c65
commit 81334651a9

View file

@ -83,7 +83,7 @@ final class PhrictionDocumentQuery
if ($project_slugs) {
$projects = id(new PhabricatorProjectQuery())
->setViewer($this->getViewer())
->withSlugs($project_slugs)
->withPhrictionSlugs($project_slugs)
->execute();
$projects = mpull($projects, null, 'getPhrictionSlug');
foreach ($documents as $key => $document) {