]> git.mxchange.org Git - friendica.git/commitdiff
added spaces + some curly braces
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 15:01:56 +0000 (16:01 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:55 +0000 (22:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/conversation.php

index ae12cf4827de6b8c0c6e3b3222f108ebd39698d0..b52a8873df82399f47b2c082482c1f5109d7ec5f 100644 (file)
@@ -395,7 +395,7 @@ function visible_activity($item) {
        }
 
        if (activity_match($item['verb'], ACTIVITY_FOLLOW) && $item['object-type'] === ACTIVITY_OBJ_NOTE) {
-               if (!($item['self'] && ($item['uid'] == local_user()))) {
+               if (!(x($item, 'self') && ($item['uid'] == local_user()))) {
                        return false;
                }
        }