mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
fix undeclared variables or wrong variable names (/mod)
This commit is contained in:
parent
ab7646016b
commit
2e03a3a47f
22 changed files with 29 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue