FIx so newly created addressbooks are subscribed (Bug #1766)

This commit is contained in:
Aleksander Machniak 2013-05-27 19:05:04 +02:00
parent 44c19b496c
commit ed2b8def7a

View file

@ -410,10 +410,11 @@ class kolab_addressbook extends rcube_plugin
public function book_save()
{
$prop = array(
'name' => trim(get_input_value('_name', RCUBE_INPUT_POST)),
'name' => trim(get_input_value('_name', RCUBE_INPUT_POST)),
'oldname' => trim(get_input_value('_oldname', RCUBE_INPUT_POST, true)), // UTF7-IMAP
'parent' => trim(get_input_value('_parent', RCUBE_INPUT_POST, true)), // UTF7-IMAP
'type' => 'contact',
'parent' => trim(get_input_value('_parent', RCUBE_INPUT_POST, true)), // UTF7-IMAP
'type' => 'contact',
'subscribed' => true,
);
$result = $error = false;