Skip to content

Commit ae5fbe0

Browse files
author
epriestley
committed
Fix an issue where Ponder rename stories tried to render question bodies
Summary: Missing some `break;`, pretty sure this is causing the issue on `secure.phabricator.com`. Test Plan: Will push. Reviewers: chad, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D7559
1 parent a29b5b0 commit ae5fbe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/applications/ponder/storage/PonderQuestionTransaction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,16 @@ public function getBodyForFeed(PhabricatorFeedStory $story) {
258258
return phutil_escape_html_newlines(
259259
phutil_utf8_shorten($question->getContent(), 128));
260260
}
261+
break;
261262
case self::TYPE_ANSWERS:
262263
$answer = $this->getNewAnswerObject($story);
263264
if ($answer) {
264265
return phutil_escape_html_newlines(
265266
phutil_utf8_shorten($answer->getContent(), 128));
266267
}
268+
break;
267269
}
270+
268271
return parent::getBodyForFeed($story);
269272
}
270273

0 commit comments

Comments
 (0)