Page MenuHomePhorge

D25390.1737413583.diff
No OneTemporary

D25390.1737413583.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
@@ -40,7 +40,7 @@
// TODO: Clean this up.
$result = array();
- if (!is_array($value)) {
+ if (is_string($value) && phutil_nonempty_string($value)) {
$value = json_decode($value, true);
if (is_array($value)) {
$result = array_values($value);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 22:53 (1 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1140497
Default Alt Text
D25390.1737413583.diff (630 B)

Event Timeline