diff --git a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php index 0f60d77602..cf0140a38a 100644 --- a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php +++ b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php @@ -80,6 +80,10 @@ abstract class PhabricatorCustomFieldStorage $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; }