From: Roland Haeder Date: Sat, 8 Apr 2017 22:28:24 +0000 (+0200) Subject: opps, missed this one. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e325c6ec852d99e3c94355dd04a16cbe9f096b2b;p=friendica.git opps, missed this one. Signed-off-by: Roland Haeder --- diff --git a/include/conversation.php b/include/conversation.php index 7799b38244..4476411246 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -392,7 +392,7 @@ function visible_activity($item) { */ $hidden_activities = array(ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE); foreach ($hidden_activities as $act) { - if (activity_match($item['verb'],$act)) { + if (activity_match($item['verb'], $act)) { return false; } } @@ -410,8 +410,8 @@ function visible_activity($item) { * @brief SQL query for items */ function item_query() { - return "SELECT ".item_fieldlists()." FROM `item` ". - item_joins()." WHERE ".item_condition(); + return "SELECT " . item_fieldlists() . " FROM `item` " . + item_joins() . " WHERE " . item_condition(); } /**