mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Fix description variable on Blog manage page
Summary: Properly set description variable. Test Plan: Visit blog manage page. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15332
This commit is contained in:
parent
800d800766
commit
2cdc40eb00
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ final class PhameBlogManageController extends PhameBlogController {
|
|||
|
||||
$properties->invokeWillRenderEvent();
|
||||
|
||||
if (strlen($blog->getDescription())) {
|
||||
$description = $blog->getDescription();
|
||||
if (strlen($description)) {
|
||||
$description = new PHUIRemarkupView($viewer, $description);
|
||||
$properties->addSectionHeader(
|
||||
pht('Description'),
|
||||
|
|
Loading…
Reference in a new issue