Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2696366
D25257.1734874646.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
D25257.1734874646.diff
View Options
diff --git a/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php b/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
@@ -95,7 +95,7 @@
$section[] = $type->getConduitDescription();
$type_documentation = $type->getConduitDocumentation();
- if (strlen($type_documentation)) {
+ if (phutil_nonempty_string($type_documentation)) {
$section[] = $type_documentation;
}
diff --git a/src/applications/transactions/editfield/PhabricatorEditField.php b/src/applications/transactions/editfield/PhabricatorEditField.php
--- a/src/applications/transactions/editfield/PhabricatorEditField.php
+++ b/src/applications/transactions/editfield/PhabricatorEditField.php
@@ -169,11 +169,20 @@
return $this->conduitDescription;
}
+ /**
+ * Set the Conduit documentation in raw Remarkup.
+ * @param string|null $conduit_documentation
+ * @return self
+ */
public function setConduitDocumentation($conduit_documentation) {
$this->conduitDocumentation = $conduit_documentation;
return $this;
}
+ /**
+ * Get the Conduit documentation in raw Remarkup.
+ * @return string|null
+ */
public function getConduitDocumentation() {
return $this->conduitDocumentation;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 13:37 (11 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025989
Default Alt Text
D25257.1734874646.diff (1 KB)
Attached To
Mode
D25257: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Conduit's dashboard.panel.edit page
Attached
Detach File
Event Timeline
Log In to Comment