From: Michael Date: Sat, 4 Mar 2023 19:28:31 +0000 (+0000) Subject: Unneeded field removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60ddef172039458c7798cc0455c51ec04a79b5c7;p=friendica.git Unneeded field removed --- diff --git a/src/Model/Post/Media.php b/src/Model/Post/Media.php index c6185cf1a8..5dfb227d64 100644 --- a/src/Model/Post/Media.php +++ b/src/Model/Post/Media.php @@ -912,12 +912,11 @@ class Media 'url' => $links[0]['url'], 'title' => $links[0]['name'], 'text' => $links[0]['description'], - 'alternative_title' => '', - 'publisher_name' => $links[0]['publisher-name'], - 'publisher_url' => $links[0]['publisher-url'], - 'publisher_img' => $links[0]['publisher-image'], - 'author_name' => $links[0]['author-name'], - 'author_url' => $links[0]['author-url'], + 'publisher_name' => $links[0]['publisher-name'], + 'publisher_url' => $links[0]['publisher-url'], + 'publisher_img' => $links[0]['publisher-image'], + 'author_name' => $links[0]['author-name'], + 'author_url' => $links[0]['author-url'], 'author_img' => $links[0]['author-image'], 'images' => [[ 'src' => $links[0]['preview'], @@ -926,7 +925,7 @@ class Media ]] ]; $body .= "\n" . PageInfo::getFooterFromData($data); - + return $body; }