From 57c5d064b8d87ce9ab7f01037c7673e3f39036a7 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 21 Feb 2021 20:38:53 +0100 Subject: [PATCH] Same blanks removed --- include/conversation.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 193dc33e2f..b74b1f152b 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -145,7 +145,7 @@ function localize_item(&$item) $item['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $item['contact-id']); } - /// @todo The following functionality needs to be cleaned up. + /// @todo The following functionality needs to be cleaned up. if (!empty($item['verb'])) { $activity = DI::activity(); @@ -481,7 +481,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o 'attendyes' => [], 'attendno' => [], 'attendmaybe' => [], - 'announce' => [], + 'announce' => [], ]; if (DI::pConfig()->get(local_user(), 'system', 'hide_dislike')) { @@ -839,8 +839,8 @@ function conversation_add_children(array $parents, $block_authors, $order, $uid) $activity = ['causer-id' => $parent['author-id']]; foreach (['commented', 'received', 'created'] as $orderfields) { if (!empty($parent[$orderfields])) { - $activity[$orderfields] = $parent[$orderfields]; - } + $activity[$orderfields] = $parent[$orderfields]; + } } } } else {