Fix formatting all around

This commit is contained in:
Hypolite Petovan 2017-12-09 13:42:02 -05:00
parent 669c7dea59
commit fe89e7760e
7 changed files with 29 additions and 25 deletions

View file

@ -194,8 +194,9 @@ function dfrn_request_post(App $a) {
if(intval($def_gid))
group_add_member(local_user(), '', $r[0]['id'], $def_gid);
if (isset($photo))
if (isset($photo)) {
Contact::updateAvatar($photo, local_user(), $r[0]["id"], true);
}
$forwardurl = System::baseUrl()."/contacts/".$r[0]['id'];
} else {