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

@ -168,7 +168,7 @@ function dfrn_request_post(App $a)
$parms['key'] // this was already escaped
);
if (DBM::is_result($r)) {
Group::addMember(User::getDefaultGroup($uid, $r[0]["network"]), $r[0]['id']);
Group::addMember(User::getDefaultGroup(local_user(), $r[0]["network"]), $r[0]['id']);
if (isset($photo)) {
Contact::updateAvatar($photo, local_user(), $r[0]["id"], true);