mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 05:42:40 +01:00
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
This commit is contained in:
parent
a29b5b070f
commit
ae5fbe034e
1 changed files with 3 additions and 0 deletions
|
@ -258,13 +258,16 @@ final class PonderQuestionTransaction
|
|||
return phutil_escape_html_newlines(
|
||||
phutil_utf8_shorten($question->getContent(), 128));
|
||||
}
|
||||
break;
|
||||
case self::TYPE_ANSWERS:
|
||||
$answer = $this->getNewAnswerObject($story);
|
||||
if ($answer) {
|
||||
return phutil_escape_html_newlines(
|
||||
phutil_utf8_shorten($answer->getContent(), 128));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return parent::getBodyForFeed($story);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue