Page MenuHomePhorge

D25390.1736454577.diff
No OneTemporary

D25390.1736454577.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
@@ -39,14 +39,9 @@
// should hold until this can get cleaned up more thoroughly.
// TODO: Clean this up.
- $result = array();
- if (!is_array($value) && phutil_nonempty_string($value)) {
+ if (is_string($value) && phutil_nonempty_string($value)) {
$value = json_decode($value, true);
- if (is_array($value)) {
- $result = array_values($value);
- }
}
-
$this->setFieldValue($value);
return $this;

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 20:29 (5 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108762
Default Alt Text
D25390.1736454577.diff (806 B)

Event Timeline