mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-11 20:04:53 +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();
|
$properties->invokeWillRenderEvent();
|
||||||
|
|
||||||
if (strlen($blog->getDescription())) {
|
$description = $blog->getDescription();
|
||||||
|
if (strlen($description)) {
|
||||||
$description = new PHUIRemarkupView($viewer, $description);
|
$description = new PHUIRemarkupView($viewer, $description);
|
||||||
$properties->addSectionHeader(
|
$properties->addSectionHeader(
|
||||||
pht('Description'),
|
pht('Description'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue