]> git.mxchange.org Git - friendica.git/blobdiff - mod/viewcontacts.php
Merge pull request #4440 from rabuzarus/20180211_-_fix_variables_part_two
[friendica.git] / mod / viewcontacts.php
index 20585676dd77074d8cc8dcceb9aa066cb8bd2aba..7763dc8bf7a9c4b88bbbaec9485218cf6dfbdfc4 100644 (file)
@@ -46,7 +46,7 @@ function viewcontacts_content(App $a)
                return;
        }
 
-       $is_owner = ((local_user() && ($a->profile['profile_uid'] == local_user())) ? true : false);
+       $is_owner = $a->profile['profile_uid'] == local_user();
 
        $o = "";