]> git.mxchange.org Git - friendica-addons.git/commitdiff
One tiny little notice got hide deep in the code ...
authorMichael <heluecht@pirati.ca>
Sun, 19 Aug 2018 07:21:45 +0000 (07:21 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 19 Aug 2018 07:21:45 +0000 (07:21 +0000)
statusnet/statusnet.php

index bd7800d8684fd0aba2bc2bd01122890116ef8fc2..cf5eec289d1a980033539b074d22ee74f62d3292 100644 (file)
@@ -1432,7 +1432,7 @@ function statusnet_convertmsg(App $a, $body, $no_tags = false)
                                $footerlink = "[url=" . $expanded_url . "]" . $expanded_url . "[/url]";
 
                                $body = str_replace($search, $footerlink, $body);
-                       } elseif (($oembed_data->type == "photo") && isset($oembed_data->url) && !$dontincludemedia) {
+                       } elseif (($oembed_data->type == "photo") && isset($oembed_data->url)) {
                                $body = str_replace($search, "[url=" . $expanded_url . "][img]" . $oembed_data->url . "[/img][/url]", $body);
                        } elseif ($oembed_data->type != "link") {
                                $body = str_replace($search, "[url=" . $expanded_url . "]" . $expanded_url . "[/url]", $body);