Fix url comparism

This commit is contained in:
Michael 2021-05-13 15:01:35 +00:00
parent b18073d5a8
commit 5219080149

View file

@ -2918,7 +2918,7 @@ class Item
$data['author_name'] = '';
}
if (($data['author_url'] ?? '') && ($data['provider_url'] ?? '')) {
if (($data['author_url'] ?? '') == ($data['provider_url'] ?? '')) {
$data['author_url'] = '';
}
} elseif (preg_match("/.*(\[attachment.*?\].*?\[\/attachment\]).*/ism", $body, $match)) {