Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2912696
D25390.1737413582.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
613 B
Referenced Files
None
Subscribers
None
D25390.1737413582.diff
View Options
diff --git a/src/infrastructure/customfield/editor/PhabricatorCustomFieldEditField.php b/src/infrastructure/customfield/editor/PhabricatorCustomFieldEditField.php
--- a/src/infrastructure/customfield/editor/PhabricatorCustomFieldEditField.php
+++ b/src/infrastructure/customfield/editor/PhabricatorCustomFieldEditField.php
@@ -67,7 +67,9 @@
$clone = clone $field;
$value = $this->getValue();
- $clone->setValueFromApplicationTransactions($value);
+ if ($value !== null) {
+ $clone->setValueFromApplicationTransactions($value);
+ }
return $clone->renderEditControl(array());
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 22:53 (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1140496
Default Alt Text
D25390.1737413582.diff (613 B)
Attached To
Mode
D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists
Attached
Detach File
Event Timeline
Log In to Comment