]> git.mxchange.org Git - friendica-addons.git/blobdiff - buffer/buffer.php
Fix formatting
[friendica-addons.git] / buffer / buffer.php
index 6ecfb1894a4241b204d157e54d97cca1a271b60f..a85e843a8bb0afcfc15ce5e5aabde9c041f82fe1 100644 (file)
@@ -239,14 +239,17 @@ function buffer_post_local(&$a,&$b) {
 
 function buffer_send(App $a, &$b)
 {
-       if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited']))
+       if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
                return;
+       }
 
-       if(! strstr($b['postopts'],'buffer'))
+       if(! strstr($b['postopts'],'buffer')) {
                return;
+       }
 
-       if($b['parent'] != $b['id'])
+       if($b['parent'] != $b['id']) {
                return;
+       }
 
        // Dont't post if the post doesn't belong to us.
        // This is a check for forum postings