]> git.mxchange.org Git - friendica.git/commitdiff
Fix url comparism
authorMichael <heluecht@pirati.ca>
Thu, 13 May 2021 15:01:35 +0000 (15:01 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 13 May 2021 15:01:35 +0000 (15:01 +0000)
src/Model/Item.php

index e5b95d689391062748a52b1f0aed9eb9ebe2f5c0..c57e6799b0894072df35e990e939e9e67a023e01 100644 (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)) {