]> git.mxchange.org Git - friendica-addons.git/commitdiff
Statusnet: One notice removed
authorMichael <heluecht@pirati.ca>
Sat, 13 Oct 2018 17:53:46 +0000 (17:53 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 13 Oct 2018 17:53:46 +0000 (17:53 +0000)
statusnet/statusnet.php

index 2e6a1f9259052633ca2c277f8bfa6b86d1d9eb3e..3c6972e38addf0c57974ddb682c79289ccb448dd 100644 (file)
@@ -1381,7 +1381,7 @@ function statusnet_complete_conversation(App $a, $uid, $self, $create_user, $nic
                foreach ($posts as $post) {
                        $postarray = statusnet_createpost($a, $uid, $post, $self, false, false);
 
-                       if (trim($postarray['body']) == "") {
+                       if (empty($postarray['body'])) {
                                continue;
                        }