From f17f7cc5bff459db6d11b88bc26a55f0e8d1ef73 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 13 Oct 2018 17:53:46 +0000 Subject: [PATCH] Statusnet: One notice removed --- statusnet/statusnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 2e6a1f92..3c6972e3 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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; } -- 2.39.5