From 7652687692bffdc31a1b65ed4afce97addd2bbde Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 19 Apr 2013 08:35:08 +0200 Subject: Fix DB error when creating a new contact and a group is selected (#1489051) --- program/lib/Roundcube/rcube_contacts.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'program/lib/Roundcube/rcube_contacts.php') diff --git a/program/lib/Roundcube/rcube_contacts.php b/program/lib/Roundcube/rcube_contacts.php index c66e98687..e4fd7dc10 100644 --- a/program/lib/Roundcube/rcube_contacts.php +++ b/program/lib/Roundcube/rcube_contacts.php @@ -626,10 +626,6 @@ class rcube_contacts extends rcube_addressbook $insert_id = $this->db->insert_id($this->db_name); } - // also add the newly created contact to the active group - if ($insert_id && $this->group_id) - $this->add_to_group($this->group_id, $insert_id); - $this->cache = null; return $insert_id; -- cgit v1.2.3