1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00

Render the cache correctly in DifferentialRevisionCommentView.

This commit is contained in:
epriestley 2011-04-09 22:34:41 -07:00
parent dd1d593786
commit 2c1ed9fd17

View file

@ -144,7 +144,8 @@ final class DifferentialRevisionCommentView extends AphrontView {
if ($inline_cache) { if ($inline_cache) {
$inline_content = $inline_cache; $inline_content = $inline_cache;
} else { } else {
$inline_content = $this->markupEngine->markupText($content); $inline_content = $this->markupEngine->markupText(
$inline_content);
if ($inline->getID()) { if ($inline->getID()) {
$inline->setCache($inline_content); $inline->setCache($inline_content);
$inline->save(); $inline->save();