1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Fix Ponder exception for adding comments

Summary: Fixes T2323. Prior to search refactoring (I think), this stuff was loaded implicitly. Now load it explicitly.

Test Plan: Added a comment to a Ponder answer without an exception.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2323

Differential Revision: https://secure.phabricator.com/D4536
This commit is contained in:
epriestley 2013-01-19 19:47:50 -08:00
parent fa19618d26
commit 8500b8fe92

View file

@ -16,6 +16,8 @@ final class PonderCommentSaveController extends PonderController {
return new Aphront404Response();
}
$question->attachRelated();
$target = $request->getStr('target');
$objects = id(new PhabricatorObjectHandleData(array($target)))
->setViewer($user)