Renamed config name

This commit is contained in:
Michael 2019-11-19 16:31:22 +00:00
parent 1e9214bfea
commit 7c1f8a0597
4 changed files with 6 additions and 6 deletions

View file

@ -3585,7 +3585,7 @@ class Diaspora
$body = $item["body"];
// Fetch the title from an attached link - if there is one
if (empty($item["title"]) && PConfig::get($owner['uid'], 'system', 'append_title')) {
if (empty($item["title"]) && PConfig::get($owner['uid'], 'system', 'attach_link_title')) {
$page_data = BBCode::getAttachmentData($item['body']);
if (!empty($page_data['type']) && !empty($page_data['title']) && ($page_data['type'] == 'link')) {
$title = $page_data['title'];