]> git.mxchange.org Git - friendica-addons.git/blobdiff - appnetpost/appnetpost.php
Added function "bb_CleanPictureLinks" ro all connectors
[friendica-addons.git] / appnetpost / appnetpost.php
index d3f6c19a69fc1483de275e4c0bfcc49864c4f87b..a5c5e8c5fdd388ac22c005ce301d96a4256478e5 100644 (file)
@@ -288,6 +288,8 @@ function appnetpost_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))