Skip to content
Snippets Groups Projects
Commit 45464254 authored by Brian Canini's avatar Brian Canini
Browse files

Merge branch 'media_entity_twitter' into module-updates-rc

parents a1b3c3ec ff41751b
No related branches found
No related tags found
No related merge requests found
......@@ -5831,17 +5831,17 @@
},
{
"name": "drupal/media_entity_twitter",
"version": "2.6.0",
"version": "2.7.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/media_entity_twitter.git",
"reference": "8.x-2.6"
"reference": "8.x-2.7"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/media_entity_twitter-8.x-2.6.zip",
"reference": "8.x-2.6",
"shasum": "777062eb55314da47ee3878db6d10d022e91bed6"
"url": "https://ftp.drupal.org/files/projects/media_entity_twitter-8.x-2.7.zip",
"reference": "8.x-2.7",
"shasum": "6a2dec14a8fc1ebb88188e5b9b1afbd310342854"
},
"require": {
"drupal/core": "^8.8 || ^9",
......@@ -5850,8 +5850,8 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.6",
"datestamp": "1610375564",
"version": "8.x-2.7",
"datestamp": "1614676236",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......
......@@ -6,7 +6,7 @@ core_version_requirement: ^8.8 || ^9
dependencies:
- drupal:media
# Information added by Drupal.org packaging script on 2021-01-11
version: '8.x-2.6'
# Information added by Drupal.org packaging script on 2021-03-02
version: '8.x-2.7'
project: 'media_entity_twitter'
datestamp: 1610375567
datestamp: 1614676238
......@@ -172,7 +172,7 @@ public function getMetadataAttributes() {
public function getMetadata(MediaInterface $media, $attribute_name) {
$matches = $this->matchRegexp($media);
if (!$matches['id']) {
if (!is_array($matches) || empty($matches['id'])) {
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment