Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2692095
D25197.1734755899.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25197.1734755899.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 04:38 (18 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1023010
Default Alt Text
D25197.1734755899.diff (1 KB)
Attached To
Mode
D25197: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications' Configure pages
Attached
Detach File
Event Timeline
Log In to Comment