Fixes T9552. We need to set a questionID and the question object (for policy) when initializing a new Answer.
Details
Details
- Reviewers
- epriestley 
- Maniphest Tasks
- T9552: Users cannot answer questions on Ponder
- Commits
- Restricted Diffusion Commit
 rP6ff1354ac1ff: Fix errors when mentioning others in Ponder
Write an answer that mentions another user.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
- Lint Not Applicable 
- Unit
- Tests Not Applicable 
Event Timeline
| src/applications/ponder/storage/PonderAnswer.php | ||
|---|---|---|
| 38 | You can attach it like this, here:    ...
   ->setQuestionID(...)
+  ->attachQuestion($question)
   ->setContent(...)
   ... | |