]> git.mxchange.org Git - friendica.git/blobdiff - mod/message.php
add diaspora support to dfrn_confirm (friendship confirmation)
[friendica.git] / mod / message.php
index 21f7b935e6d3e6797e988c40bbd37ef0e7e76f48..ad598eb7d07f1b7f4b9a9e76d5d651743b56c694 100644 (file)
@@ -78,7 +78,7 @@ function message_post(&$a) {
 
        $match = null;
 
-       if(preg_match_all("/\[img\](.+?)\[\/img\]/",$body,$match)) {
+       if(preg_match_all("/\[img\](.*?)\[\/img\]/",$body,$match)) {
                $images = $match[1];
                if(count($images)) {
                        foreach($images as $image) {