Unneeded field removed
This commit is contained in:
parent
b761760d65
commit
60ddef1720
1 changed files with 6 additions and 7 deletions
|
@ -912,12 +912,11 @@ class Media
|
||||||
'url' => $links[0]['url'],
|
'url' => $links[0]['url'],
|
||||||
'title' => $links[0]['name'],
|
'title' => $links[0]['name'],
|
||||||
'text' => $links[0]['description'],
|
'text' => $links[0]['description'],
|
||||||
'alternative_title' => '',
|
'publisher_name' => $links[0]['publisher-name'],
|
||||||
'publisher_name' => $links[0]['publisher-name'],
|
'publisher_url' => $links[0]['publisher-url'],
|
||||||
'publisher_url' => $links[0]['publisher-url'],
|
'publisher_img' => $links[0]['publisher-image'],
|
||||||
'publisher_img' => $links[0]['publisher-image'],
|
'author_name' => $links[0]['author-name'],
|
||||||
'author_name' => $links[0]['author-name'],
|
'author_url' => $links[0]['author-url'],
|
||||||
'author_url' => $links[0]['author-url'],
|
|
||||||
'author_img' => $links[0]['author-image'],
|
'author_img' => $links[0]['author-image'],
|
||||||
'images' => [[
|
'images' => [[
|
||||||
'src' => $links[0]['preview'],
|
'src' => $links[0]['preview'],
|
||||||
|
@ -926,7 +925,7 @@ class Media
|
||||||
]]
|
]]
|
||||||
];
|
];
|
||||||
$body .= "\n" . PageInfo::getFooterFromData($data);
|
$body .= "\n" . PageInfo::getFooterFromData($data);
|
||||||
|
|
||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue