]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/statusnet.php
SN/T: typo
[friendica-addons.git] / statusnet / statusnet.php
index 5f9800672ff3955a453a66b24697bde375ba51d5..469b3ab89e9d4ee44c9884be6b7407ee1deed24d 100755 (executable)
@@ -437,7 +437,7 @@ function statusnet_post_hook(&$a,&$b) {
                     $tmp = $b['title'] . ' : '. $b['body'];
 //                    $tmp = substr($tmp, 0, 4*$max_char);
                 } else {
-                    $tmp = $b['body'] // substr($b['body'], 0, 3*$max_char);
+                    $tmp = $b['body']; // substr($b['body'], 0, 3*$max_char);
                 }
                 // if [url=bla][img]blub.png[/img][/url] get blub.png
                 $tmp = preg_replace( '/\[url\=(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)\]\[img\](\\w+.*?)\\[\\/img\]\\[\\/url\]/i', '$2', $tmp);