Merge branch 'fix-empty-preview' of github.com:annando/friendica into fix-empty-preview
This commit is contained in:
commit
451613a76a
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class Feed
|
||||||
|
|
||||||
$data = PageInfo::queryUrl($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"] ?? '');
|
$data = PageInfo::queryUrl($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"] ?? '');
|
||||||
|
|
||||||
// Take the data that was provided by the feed if the query wasn't empty
|
// Take the data that was provided by the feed if the query is empty
|
||||||
if (($data['type'] == 'link') && empty($data['title']) && empty($data['text'])) {
|
if (($data['type'] == 'link') && empty($data['title']) && empty($data['text'])) {
|
||||||
$data['title'] = $saved_title;
|
$data['title'] = $saved_title;
|
||||||
$item["body"] = $saved_body;
|
$item["body"] = $saved_body;
|
||||||
|
|
Loading…
Reference in a new issue