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
1 changed files with 15 additions and 15 deletions

View File

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