From fa9b7a4dccbb01e56cc8dfad5be406b1dda91357 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 10 Jan 2018 22:56:06 +0000 Subject: [PATCH] Issue 4200: Adding new contacts not possible --- src/Model/Contact.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index a78c796edc..2323c583b4 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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 ] ); }