Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680451
D25493.1734542602.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
601 B
Referenced Files
None
Subscribers
None
D25493.1734542602.diff
View Options
diff --git a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
--- a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
+++ b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
@@ -80,6 +80,10 @@
$object_phid = $row['objectPHID'];
$value = $row['fieldValue'];
+ if (!isset($map[$index]) || !isset($map[$index][$object_phid])) {
+ continue;
+ }
+
$key = $map[$index][$object_phid];
$result[$key] = $value;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 17:23 (1 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014897
Default Alt Text
D25493.1734542602.diff (601 B)
Attached To
Mode
D25493: Avoid "Undefined index" error in project.search API when project_customfieldstorage table has additional fields not requested
Attached
Detach File
Event Timeline
Log In to Comment