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:
parent
fa19618d26
commit
8500b8fe92
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue