]> git.mxchange.org Git - friendica.git/blobdiff - include/contact_widgets.php
It is better this way
[friendica.git] / include / contact_widgets.php
index 16ed33429399a9d3e0f5c29308899a4d3079ca2e..db077b420ff32ca441690fcd4c6431b08b9c1b22 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 function follow_widget($value = "") {
 
        return replace_macros(get_markup_template('follow.tpl'), array(
@@ -206,8 +208,9 @@ function common_friends_visitor_widget($profile_uid) {
 
        $a = get_app();
 
-       if (local_user() == $profile_uid)
+       if (local_user() == $profile_uid) {
                return;
+       }
 
        $cid = $zcid = 0;