plugins/kolab_addressbook

Aleksander Machniak machniak at kolabsys.com
Mon May 27 19:49:06 CEST 2013


 plugins/kolab_addressbook/kolab_addressbook.php |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit ed2b8def7aacc15daa3821524f959619e86da07e
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Mon May 27 19:05:04 2013 +0200

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

diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php
index 818a47a..3f85fa7 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.php
+++ b/plugins/kolab_addressbook/kolab_addressbook.php
@@ -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;





More information about the commits mailing list