Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2862965
D25377.1736454516.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
592 B
Referenced Files
None
Subscribers
None
D25377.1736454516.diff
View Options
diff --git a/src/applications/harbormaster/controller/HarbormasterStepEditController.php b/src/applications/harbormaster/controller/HarbormasterStepEditController.php
--- a/src/applications/harbormaster/controller/HarbormasterStepEditController.php
+++ b/src/applications/harbormaster/controller/HarbormasterStepEditController.php
@@ -139,7 +139,7 @@
->setUser($viewer);
$instructions = $implementation->getEditInstructions();
- if (strlen($instructions)) {
+ if (phutil_nonempty_string($instructions)) {
$form->appendRemarkupInstructions($instructions);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 20:28 (5 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108753
Default Alt Text
D25377.1736454516.diff (592 B)
Attached To
Mode
D25377: Fix PHP 8.1 "strlen(null)" exception adding a "Drydock: Run Command" build step in Harbormaster
Attached
Detach File
Event Timeline
Log In to Comment