diff --git a/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php b/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php index 2c4c839..ad2901c 100644 --- a/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php +++ b/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php @@ -183,7 +183,7 @@ public function getFieldKeyAlias($id) { */ protected static function extractFromOptionsArray($key, $options) { return array_map(function($item) use ($key) { - return array_key_exists($key, $item) ? $item[$key] : NULL; + return isset($key, $item) ? $item[$key] : NULL; }, $options); }