diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-19 08:35:08 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-19 08:35:08 +0200 |
commit | 7652687692bffdc31a1b65ed4afce97addd2bbde (patch) | |
tree | 47a793d3373689d57acd190b868aaedea05b1c41 /program/lib/Roundcube | |
parent | ca2c6316fb1bd6b092df9ca323152f1050ee2d56 (diff) |
Fix DB error when creating a new contact and a group is selected (#1489051)
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/rcube_contacts.php | 4 |
1 files changed, 0 insertions, 4 deletions
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; |