Merge pull request #4204 from annando/issue-4200

Issue 4200: Adding new contacts not possible
This commit is contained in:
Hypolite Petovan 2018-01-10 17:59:15 -05:00 committed by GitHub
commit b8fc30e061
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1227,21 +1227,21 @@ class Contact extends BaseObject
'addr' => $ret['addr'],
'alias' => $ret['alias'],
'batch' => $ret['batch'],
`notify` => $ret['notify'],
`poll` => $ret['poll'],
`poco` => $ret['poco'],
`name` => $ret['name'],
`nick` => $ret['nick'],
`network` => $ret['network'],
`pubkey` => $ret['pubkey'],
`rel` => $new_relation,
`priority` => $ret['priority'],
`writable` => $writeable,
`hidden` => $hidden,
`blocked` => 0,
`readonly` => 0,
`pending` => 0,
`subhub` => $subhub
'notify' => $ret['notify'],
'poll' => $ret['poll'],
'poco' => $ret['poco'],
'name' => $ret['name'],
'nick' => $ret['nick'],
'network' => $ret['network'],
'pubkey' => $ret['pubkey'],
'rel' => $new_relation,
'priority' => $ret['priority'],
'writable' => $writeable,
'hidden' => $hidden,
'blocked' => 0,
'readonly' => 0,
'pending' => 0,
'subhub' => $subhub
]
);
}