fix undeclared variables or wrong variable names (/mod)

This commit is contained in:
rabuzarus
2018-02-12 03:25:09 +01:00
parent ab7646016b
commit 2e03a3a47f
22 changed files with 29 additions and 24 deletions

View File

@@ -46,6 +46,8 @@ function viewcontacts_content(App $a)
return;
}
$is_owner = ((local_user() && ($a->profile['profile_uid'] == local_user())) ? true : false);
$o = "";
// tabs
@@ -97,9 +99,6 @@ function viewcontacts_content(App $a)
$url = $rr['url'];
// route DFRN profiles through the redirect
$is_owner = ((local_user() && ($a->profile['profile_uid'] == local_user())) ? true : false);
if ($is_owner && ($rr['network'] === NETWORK_DFRN) && ($rr['rel'])) {
$url = 'redir/' . $rr['id'];
} else {