Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2648037
D25376.1732389501.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
604 B
Referenced Files
None
Subscribers
None
D25376.1732389501.diff
View Options
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
@@ -103,7 +103,7 @@
$key);
$behavior_option = $object->getPlanProperty($storage_key);
- if (!strlen($behavior_option)) {
+ if (!phutil_nonempty_string($behavior_option)) {
$behavior_option = $behavior->getPlanOption($object)->getKey();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 19:18 (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
991789
Default Alt Text
D25376.1732389501.diff (604 B)
Attached To
Mode
D25376: Fix PHP 8.1 "strlen(null)" exception adding a Harbormaster Build Plan
Attached
Detach File
Event Timeline
Log In to Comment