]> git.mxchange.org Git - friendica.git/blobdiff - include/plaintext.php
Fix wrong french translation string.php
[friendica.git] / include / plaintext.php
index 793f9935a74ba061ce1b5b5ba4c8af7e90838dbf..539ef020df8571a7e49a8ec0b48b19a311bf061c 100644 (file)
@@ -82,7 +82,7 @@ function get_attachment_data($body) {
 
        $data = array();
 
-       if (!preg_match("/(.*)\[attachment(.*)\](.*?)\[\/attachment\](.*)/ism", $body, $match))
+       if (!preg_match("/(.*)\[attachment(.*?)\](.*?)\[\/attachment\](.*)/ism", $body, $match))
                return get_old_attachment_data($body);
 
        $attributes = $match[2];