1
1
Fork 0

opps, missed this one.

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-09 00:28:24 +02:00
parent 3778b15b7c
commit e325c6ec85
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -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();
}
/**