Fix slowvote exception when viewing description diff

Summary: Fixes T6937. We weren't passing required parameters.

Test Plan: Followed repro steps in task.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T6937

Differential Revision: https://secure.phabricator.com/D11346
This commit is contained in:
epriestley
2015-01-12 07:20:20 -08:00
parent 5b3b9b7182
commit 2189b6df6d
2 changed files with 6 additions and 3 deletions

View File

@@ -146,7 +146,10 @@ final class PhabricatorSlowvoteTransaction
}
public function renderChangeDetails(PhabricatorUser $viewer) {
return $this->renderTextCorpusChangeDetails($viewer);
return $this->renderTextCorpusChangeDetails(
$viewer,
$this->getOldValue(),
$this->getNewValue());
}