From: Michael Date: Thu, 13 May 2021 15:01:35 +0000 (+0000) Subject: Fix url comparism X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52190801497fe16d9b24e5ed5be3f6786cd6d7e5;p=friendica.git Fix url comparism --- diff --git a/src/Model/Item.php b/src/Model/Item.php index e5b95d6893..c57e6799b0 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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)) {