Page MenuHomePhorge

D25197.1734776102.diff
No OneTemporary

D25197.1734776102.diff

diff --git a/src/applications/base/PhabricatorApplication.php b/src/applications/base/PhabricatorApplication.php
--- a/src/applications/base/PhabricatorApplication.php
+++ b/src/applications/base/PhabricatorApplication.php
@@ -235,6 +235,11 @@
return array();
}
+ /**
+ * Get the Application Overview in raw Remarkup
+ *
+ * @return string|null
+ */
public function getOverview() {
return null;
}
diff --git a/src/applications/meta/controller/PhabricatorApplicationDetailViewController.php b/src/applications/meta/controller/PhabricatorApplicationDetailViewController.php
--- a/src/applications/meta/controller/PhabricatorApplicationDetailViewController.php
+++ b/src/applications/meta/controller/PhabricatorApplicationDetailViewController.php
@@ -114,7 +114,7 @@
}
$overview = $application->getOverview();
- if (strlen($overview)) {
+ if (phutil_nonempty_string($overview)) {
$overview = new PHUIRemarkupView($viewer, $overview);
$properties->addSectionHeader(
pht('Overview'), PHUIPropertyListView::ICON_SUMMARY);

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:15 (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1023010
Default Alt Text
D25197.1734776102.diff (1 KB)

Event Timeline