1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix PonderAnswer transaction callsite

Summary: Caught this in the logs, calling an old transaction, update it.

Test Plan: Answer a question, tail log, see no error.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17870
This commit is contained in:
Chad Little 2017-05-12 19:04:48 +00:00 committed by chad
parent 7aeb498565
commit b3692cc12c

View file

@ -71,7 +71,7 @@ final class PonderAnswerEditor extends PonderEditor {
foreach ($xactions as $xaction) {
$type = $xaction->getTransactionType();
$new = $xaction->getNewValue();
if ($type == PonderAnswerTransaction::TYPE_CONTENT) {
if ($type == PonderAnswerContentTransaction::TRANSACTIONTYPE) {
$body->addRawSection($new);
}
}