From ae5fbe034ef8541700f10e1fddd26e316658e05c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 11 Nov 2013 11:17:06 -0800 Subject: [PATCH] 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 --- src/applications/ponder/storage/PonderQuestionTransaction.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/applications/ponder/storage/PonderQuestionTransaction.php b/src/applications/ponder/storage/PonderQuestionTransaction.php index 6c1da4be8d..3218a01f8a 100644 --- a/src/applications/ponder/storage/PonderQuestionTransaction.php +++ b/src/applications/ponder/storage/PonderQuestionTransaction.php @@ -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); }