Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2695235
D25168.1734829565.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
608 B
Referenced Files
None
Subscribers
None
D25168.1734829565.diff
View Options
diff --git a/src/infrastructure/customfield/field/PhabricatorCustomFieldList.php b/src/infrastructure/customfield/field/PhabricatorCustomFieldList.php
--- a/src/infrastructure/customfield/field/PhabricatorCustomFieldList.php
+++ b/src/infrastructure/customfield/field/PhabricatorCustomFieldList.php
@@ -89,7 +89,7 @@
$field_handles = array_select_keys($handles, $phids[$field_key]);
$instructions = $field->getInstructionsForEdit();
- if (strlen($instructions)) {
+ if (phutil_nonempty_string($instructions)) {
$form->appendRemarkupInstructions($instructions);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 01:06 (18 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021269
Default Alt Text
D25168.1734829565.diff (608 B)
Attached To
Mode
D25168: Fix PHP 8.1 "strlen(null)" exception which blocks rendering user's Edit Profile page
Attached
Detach File
Event Timeline
Log In to Comment