]> git.mxchange.org Git - friendica-addons.git/blobdiff - gpluspost/gpluspost.php
Added function "bb_CleanPictureLinks" ro all connectors
[friendica-addons.git] / gpluspost / gpluspost.php
index 5a638ed9fadd7144c2dc1306b2f0919627af327e..a66e1e45ff4c9516207212006188b02769cebdf0 100644 (file)
@@ -284,6 +284,8 @@ function gpluspost_feeditem($pid, $uid) {
        $items = q("SELECT `uri`, `plink`, `author-link`, `author-name`, `created`, `edited`, `id`, `title`, `body` from `item` WHERE id=%d", intval($pid));
        foreach ($items AS $item) {
 
+               $item['body'] = bb_CleanPictureLinks($item['body']);
+
                // Looking for the first image
                $image = '';
                if(preg_match("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/is",$item['body'],$matches))